Skip to content

Commit

Permalink
fix PTY_LIB_FOLDER env
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhe123 committed Sep 23, 2016
1 parent e8fc3f8 commit 90b319a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ RUN cd /opt/coding/WebIDE/frontend-webjars && mvn -s ../mvn_settings.xml clean i

RUN cd /opt/coding/WebIDE/backend && mvn -s ../mvn_settings.xml clean package -Dmaven.test.skip=true

CMD ["java", "-jar", "/opt/coding/WebIDE/backend/target/ide-backend.jar", "--PTY_LIB_FOLDER=\"/opt/coding/WebIDE/backend/src/main/resources/lib\""]
CMD ["java", "-jar", "/opt/coding/WebIDE/backend/target/ide-backend.jar", "--PTY_LIB_FOLDER=/opt/coding/WebIDE/backend/src/main/resources/lib"]
2 changes: 2 additions & 0 deletions ide.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ sub_docker() {

echo "starting container $CONTAINER"
docker start webide
valid_last_cmd
docker attach --sig-proxy=false webide
;;
"stop")
assert_container_is_running
Expand Down

0 comments on commit 90b319a

Please sign in to comment.