gitpod: Fix docker stuffs
relevant https://github.com/gitpod-io/gitpod/issues/1171
This commit is contained in:
commit
a9d0e8888e
@ -1,19 +1,14 @@
|
|||||||
FROM gitpod/workspace-full-vnc:latest
|
FROM gitpod/workspace-full-vnc:latest
|
||||||
|
|
||||||
USER root
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# Update apt repositories
|
# Update apt repositories
|
||||||
RUN apt-get update
|
RUN apt-get update \
|
||||||
|
&& apt-get upgrade -y \
|
||||||
# Upgrade the image
|
&& apt dist-upgrade -y \
|
||||||
RUN apt upgrade -y
|
&& apt-get install -y shellcheck firefox tree xclip umbrello \
|
||||||
RUN apt dist-upgrade -y
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& apt autoremove -y
|
||||||
# Install linting dependencies
|
|
||||||
RUN apt install -y shellcheck firefox tree xclip
|
|
||||||
|
|
||||||
# Install mindmap dependencies
|
|
||||||
RUN apt install -y umbrello
|
|
||||||
|
|
||||||
# Add custom functions
|
# Add custom functions
|
||||||
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
|
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
|
||||||
@ -21,9 +16,3 @@ RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
|
|||||||
"ix() { curl -F 'f:1=<-' ix.io 2>/dev/null ;}" \
|
"ix() { curl -F 'f:1=<-' ix.io 2>/dev/null ;}" \
|
||||||
"xcopy() { xclip -se C ;}" \
|
"xcopy() { xclip -se C ;}" \
|
||||||
>> /etc/bash.bashrc; fi
|
>> /etc/bash.bashrc; fi
|
||||||
|
|
||||||
# Remove apt sources to clean up space
|
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# Clean-up unneeded packages
|
|
||||||
RUN apt autoremove -y
|
|
||||||
|
Loading…
Reference in New Issue
Block a user