Zernit/gitpod/gitpod.Dockerfile

27 lines
579 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
2020-01-14 09:17:11 +01:00
USER root
2020-01-12 01:57:48 +01:00
2020-01-14 09:16:11 +01:00
# Update apt repositories
RUN apt-get update
# Upgrade the image
RUN apt upgrade -y
RUN apt dist-upgrade -y
# Install linting dependencies
RUN apt install -y shellcheck firefox tree xclip
2020-01-14 09:16:11 +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:30:26 +01:00
"xcopy() { xcopy="xclip -se C" ;}" \
>> /etc/bash.bashrc; fi
2020-01-14 09:16:11 +01:00
# Remove apt sources to clean up space
RUN rm -rf /var/lib/apt/lists/*
# Clean-up unneeded packages
2020-01-14 09:17:11 +01:00
RUN apt autoremove -y