use threefolddev image instead of gitpod

This commit is contained in:
hamdy
2021-07-08 14:27:49 +02:00
parent b1071dc97c
commit 177d8ed4cf

8
.gitpod.Dockerfile vendored
View File

@@ -1,13 +1,9 @@
FROM gitpod/workspace-full:latest FROM threefolddev/publishtools:latest
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
USER gitpod USER gitpod
RUN sudo apt-get update && sudo apt install -y redis
RUN sudo apt-get update && sudo apt-get install -y mc rsync git
RUN sudo wget https://github.com/crystaluniverse/publishtools/releases/download/first/publishtools_linux -O publishtools && sudo chmod +x publishtools && sudo cp /home/gitpod/publishtools /usr/local/bin/ RUN cd /tmp && wget https://raw.githubusercontent.com/threefoldfoundation/www_threefold_io/development/sites.json && sudo publishtools update && sudo publishtools install || echo "try 1"
RUN cd /tmp && wget https://raw.githubusercontent.com/threefoldfoundation/www_threefold_io/development/sites.json && sudo publishtools install || echo "try 1"
USER root USER root
RUN cd /tmp && sudo publishtools install --reset RUN cd /tmp && sudo publishtools install --reset