add libatomic

This commit is contained in:
aptalca 2022-02-20 19:38:02 -05:00 committed by Ryan Kuba
parent a1fa7f021e
commit 29c861029a

View File

@ -11,6 +11,9 @@ LABEL maintainer="aptalca"
ENV HOME="/config" ENV HOME="/config"
RUN \ RUN \
apt-get update && \
apt-get install -y \
libatomic1 && \
echo "**** install code-server ****" && \ echo "**** install code-server ****" && \
if [ -z ${CODE_RELEASE+x} ]; then \ if [ -z ${CODE_RELEASE+x} ]; then \
CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \ CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
@ -21,6 +24,7 @@ RUN \
"https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server_${CODE_RELEASE}_armhf.deb" && \ "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server_${CODE_RELEASE}_armhf.deb" && \
dpkg -i /tmp/code-server.deb && \ dpkg -i /tmp/code-server.deb && \
echo "**** clean up ****" && \ echo "**** clean up ****" && \
apt-get clean && \
rm -rf \ rm -rf \
/config/* \ /config/* \
/tmp/* \ /tmp/* \