dockerfile

This commit is contained in:
2021-07-11 11:32:27 +00:00
parent 914f072fd7
commit d474cd581e

20
.gitpod.Dockerfile vendored
View File

@@ -1,10 +1,16 @@
FROM threefolddev/publishtools:latest
ENV DEBIAN_FRONTEND=noninteractive
FROM gitpod/workspace-full:latest
USER root
RUN apt-get update && apt-get install -y mc
ADD gitpod/install.sh /tmp/install.sh
RUN bash /tmp/install.sh
# RUN apt-get clean && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && rm -rf /tmp/*
USER gitpod USER gitpod
RUN cd /tmp && wget https://raw.githubusercontent.com/threefoldfoundation/www_threefold_io/development/sites.json && sudo publishtools update && sudo publishtools install || echo "try 1" # ENTRYPOINT [ "/usr/bin/bash" ]
USER root
RUN cd /tmp && sudo publishtools install --reset
ENTRYPOINT [ "entrypoint.sh" ]