Skip to content

Commit

Permalink
update submodules to release v0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhe123 committed Apr 5, 2017
1 parent 09416bc commit 8bfe884
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1 +1,3 @@
*~
node_modules/

5 changes: 3 additions & 2 deletions Dockerfile
Expand Up @@ -9,18 +9,19 @@ RUN apt-get update && apt-get install -y zsh && apt-get clean && rm -rf /var/lib
RUN useradd --create-home --home-dir /home/coding --shell /usr/bin/zsh coding \
&& echo "coding:coding" | chpasswd \
&& adduser coding sudo \
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

USER coding
ENV HOME /home/coding
ENV SHELL /usr/bin/zsh
ENV TERM xterm
ADD . /opt/coding/WebIDE

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

ADD . /opt/coding/WebIDE

RUN sudo chown -R coding /opt/coding/WebIDE \
&& mkdir $HOME/.m2

Expand Down
2 changes: 1 addition & 1 deletion backend
6 changes: 2 additions & 4 deletions ide.sh
Expand Up @@ -48,11 +48,9 @@ sub_backend() {

do_build_frontend() {
cd $FRONTEND
echo "npm install..."
npm install --registry=https://registry.npm.taobao.org

echo "building frontend..."
npm run build
yarn install
yarn run build
valid_last_cmd

cd $FRONTEND_WEBJARS
Expand Down

0 comments on commit 8bfe884

Please sign in to comment.