-
Notifications
You must be signed in to change notification settings - Fork 14
/
.gitpod.Dockerfile
13 lines (13 loc) · 1.52 KB
/
.gitpod.Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM gitpod/workspace-full
# Make runc's proc mount work again https://github.com/gitpod-io/gitpod/issues/5124#issuecomment-897048987
RUN curl -o olderrunc -L https://github.com/opencontainers/runc/releases/download/v1.0.0-rc93/runc.amd64 && chmod 755 olderrunc
RUN sudo rm /usr/bin/runc && sudo cp olderrunc /usr/bin/runc
RUN sudo apt-get -qq update && sudo apt-get install -y zsh && sudo chsh -s $(which zsh)
RUN sh -c "$(curl -fsSL https://starship.rs/install.sh)" -- --yes && echo 'eval "$(starship init zsh)"' > .zshrc
#RUN curl -OL https://github.com/lando/lando/releases/download/v3.4.0/lando-x64-v3.4.0.deb && sudo dpkg -i --ignore-depends docker-ce,iptables lando-x64-v3.4.0.deb && rm -rf lando-x64-v3.4.0.deb
#RUN mkdir -p ~/.lando && echo "proxy: 'ON'\nproxyHttpPort: '8080'\nproxyHttpsPort: '4443'\nbindAddress: '0.0.0.0'\nproxyBindAddress: '0.0.0.0'" > ~/.lando/config.yml
#RUN sudo apt-get install docker-compose-plugin
RUN sudo groupadd docker && sudo usermod -aG docker $USER
#RUN curl -OL https://github.com/lando/lando/releases/download/v3.11.0/lando-x64-v3.11.0.deb && sudo dpkg -i --ignore-depends docker-ce,iptables lando-x64-v3.11.0.deb && rm -rf lando-x64-v3.11.0.deb
RUN curl -OL https://github.com/lando/lando/releases/download/v3.20.8/lando-x64-v3.20.8.deb && sudo dpkg -i --ignore-depends docker-ce,iptables lando-x64-v3.20.8.deb && rm -rf lando-x64-v3.20.8.deb
RUN mkdir -p ~/.lando && echo "proxy: 'ON'\nproxyHttpPort: '8080'\nproxyHttpsPort: '4443'\nbindAddress: '0.0.0.0'\nproxyBindAddress: '0.0.0.0'" > ~/.lando/config.yml