mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-26 14:45:42 +03:00
46 lines
2.0 KiB
Docker
46 lines
2.0 KiB
Docker
################################################################################
|
|
# https://github.com/linuxserver/docker-code-server/pkgs/container/code-server
|
|
################################################################################
|
|
FROM epicmorg/vscode-server:latest
|
|
|
|
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
##################################################################
|
|
# ARGuments
|
|
##################################################################
|
|
ENV BuildDocker true
|
|
|
|
##################################################################
|
|
# Mono
|
|
##################################################################
|
|
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF && \
|
|
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list && \
|
|
echo "deb https://download.mono-project.com/repo/ubuntu nightly-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-nightly.list && \
|
|
echo "deb https://download.mono-project.com/repo/ubuntu preview-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-preview.list && \
|
|
apt-get update && \
|
|
apt-get install -y --allow-unauthenticated \
|
|
mono-complete \
|
|
mono-llvm-support \
|
|
mono-devel \
|
|
mono-dbg \
|
|
referenceassemblies-pcl \
|
|
ca-certificates-mono \
|
|
mono-xsp4
|
|
|
|
##################################################################
|
|
# cleaninig up
|
|
##################################################################
|
|
RUN apt purge policykit-1 -y && \
|
|
apt clean -y && \
|
|
apt autoclean -y && \
|
|
rm -rfv /var/lib/apt/lists/* && \
|
|
rm -rfv /tmp/mc.patch && \
|
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
|
rm -rfv /tmp/7z && \
|
|
rm -rfv /tmp/deb/* && \
|
|
rm -rfv /tmp/composer-setup.php && \
|
|
rm -rfv /tmp/amxx_base_latest.tar.gz && \
|
|
rm -rfv /tmp/atlassian-plugin-sdk.deb && \
|
|
rm -rfv /tmp/addons
|