Skip to content

Commit 8bfe884

Browse files
committed
update submodules to release v0.8.1
1 parent 09416bc commit 8bfe884

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
*~
2+
node_modules/
3+

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ RUN apt-get update && apt-get install -y zsh && apt-get clean && rm -rf /var/lib
99
RUN useradd --create-home --home-dir /home/coding --shell /usr/bin/zsh coding \
1010
&& echo "coding:coding" | chpasswd \
1111
&& adduser coding sudo \
12-
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
12+
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
1313

1414
USER coding
1515
ENV HOME /home/coding
1616
ENV SHELL /usr/bin/zsh
1717
ENV TERM xterm
18-
ADD . /opt/coding/WebIDE
1918

2019
# Install oh-my-zsh
2120
RUN git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh \
2221
&& cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
2322

23+
ADD . /opt/coding/WebIDE
24+
2425
RUN sudo chown -R coding /opt/coding/WebIDE \
2526
&& mkdir $HOME/.m2
2627

backend

frontend

ide.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@ sub_backend() {
4848

4949
do_build_frontend() {
5050
cd $FRONTEND
51-
echo "npm install..."
52-
npm install --registry=https://registry.npm.taobao.org
53-
5451
echo "building frontend..."
55-
npm run build
52+
yarn install
53+
yarn run build
5654
valid_last_cmd
5755

5856
cd $FRONTEND_WEBJARS

0 commit comments

Comments
 (0)