Last active
May 28, 2021 04:41
-
-
Save gridhead/ec5751f5875c3eb3fa6fdc6281443406 to your computer and use it in GitHub Desktop.
CentOS Code Server Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:latest | |
LABEL maintainer "Akashdeep Dhar <[email protected]>" | |
WORKDIR /data | |
RUN dnf install wget git -y | |
RUN wget https://github.com/cdr/code-server/releases/download/v3.10.1/code-server-3.10.1-amd64.rpm | |
RUN dnf remove wget -y | |
RUN dnf install code-server-3.10.1-amd64.rpm -y | |
RUN rm code-server-3.10.1-amd64.rpm | |
ENTRYPOINT ["code-server", "--bind-addr", "0.0.0.0:4444", "--auth", "none"] | |
EXPOSE 4444 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:latest | |
LABEL maintainer "Akashdeep Dhar <[email protected]>" | |
WORKDIR /data | |
RUN dnf install wget git -y | |
RUN wget https://github.com/cdr/code-server/releases/download/v3.10.1/code-server-3.10.1-arm64.rpm | |
RUN dnf remove wget -y | |
RUN dnf install code-server-3.10.1-arm64.rpm -y | |
RUN rm code-server-3.10.1-arm64.rpm | |
ENTRYPOINT ["code-server", "--bind-addr", "0.0.0.0:4444", "--auth", "none"] | |
EXPOSE 4444 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment