gitpod
This commit is contained in:
7
.gitpod.Dockerfile
vendored
7
.gitpod.Dockerfile
vendored
@@ -5,11 +5,8 @@ FROM gitpod/workspace-full:latest
|
|||||||
USER root
|
USER root
|
||||||
RUN apt-get update && apt-get install -y mc rsync
|
RUN apt-get update && apt-get install -y mc rsync
|
||||||
|
|
||||||
ADD gitpod/install_docker.sh /tmp/install_docker.sh
|
#prepare for gitpod nodejs env
|
||||||
ADD package.json /tmp/package.json
|
RUN rm -f /tmp/install_docker.sh && curl -s -o /tmp/install_docker.sh https://raw.githubusercontent.com/threefoldfoundation/data_threefold/development/gitpod_scripts/install_docker.sh && bash /tmp/install_docker.sh
|
||||||
|
|
||||||
RUN bash /tmp/install_docker.sh
|
|
||||||
|
|
||||||
|
|
||||||
# RUN apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
|
# RUN apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,11 @@ image:
|
|||||||
# # Commands to start on workspace startup
|
# # Commands to start on workspace startup
|
||||||
tasks:
|
tasks:
|
||||||
# - init: bash /workspace/www_threefold_io/gitpod/install.sh
|
# - init: bash /workspace/www_threefold_io/gitpod/install.sh
|
||||||
- command: bash /workspace/www_threefold_io/gitpod/install.sh && bash /workspace/www_threefold_io/gitpod/run.sh
|
- command: rm -f /tmp/install.sh \
|
||||||
|
&& curl -s -o /tmp/install.sh https://raw.githubusercontent.com/threefoldfoundation/data_threefold/development/install.sh \
|
||||||
|
&& bash /tmp/install.sh \
|
||||||
|
&& bash /workspace/data_threefold/gitpod_scripts/install.sh
|
||||||
|
&& bash /workspace/data_threefold/gitpod_scripts/run.sh
|
||||||
ports:
|
ports:
|
||||||
- port: 8080
|
- port: 8080
|
||||||
onOpen: open-browser
|
onOpen: open-browser
|
||||||
|
|||||||
Reference in New Issue
Block a user