Zernit/gitpod/gitpod.Dockerfile

20 lines
670 B
Docker
Raw Normal View History

2020-01-25 16:45:04 +01:00
FROM gitpod/workspace-full-vnc:latest
2020-01-12 01:57:48 +01:00
# To avoid bricked workspaces (https://github.com/gitpod-io/gitpod/issues/1171)
2020-02-03 03:45:54 +01:00
ARG DEBIAN_FRONTEND=noninteractive
# APT management (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get)
2020-02-03 03:45:54 +01:00
RUN apt-get update \
&& apt-get upgrade -y \
&& apt dist-upgrade -y \
&& apt-get install -y shellcheck firefox tree xclip umbrello \
&& rm -rf /var/lib/apt/lists/* \
&& apt autoremove -y
2020-01-31 06:55:23 +01:00
2020-01-25 17:30:26 +01:00
# Add custom functions
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
'# Custom' \
"ix() { curl -F 'f:1=<-' ix.io 2>/dev/null ;}" \
2020-01-25 17:36:24 +01:00
"xcopy() { xclip -se C ;}" \
2020-01-25 17:30:26 +01:00
>> /etc/bash.bashrc; fi