Skip to content

Instantly share code, notes, and snippets.

@gridhead
Last active May 28, 2021 04:42
Show Gist options
  • Save gridhead/22616d3ae863fc0ab78be3a069589a98 to your computer and use it in GitHub Desktop.
Save gridhead/22616d3ae863fc0ab78be3a069589a98 to your computer and use it in GitHub Desktop.
Fedora Code Server Dockerfile
FROM fedora: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
FROM fedora: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