Weird commited on
Commit
6a7e4c2
·
1 Parent(s): 50c15c9

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -48
Dockerfile DELETED
@@ -1,48 +0,0 @@
1
- FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
2
-
3
- # set version label
4
- ARG BUILD_DATE
5
- ARG VERSION
6
- ARG CODE_RELEASE
7
- LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
8
- LABEL maintainer="aptalca"
9
-
10
- # environment settings
11
- ARG DEBIAN_FRONTEND="noninteractive"
12
- ENV HOME="/config"
13
-
14
- RUN \
15
- echo "**** install runtime dependencies ****" && \
16
- apt-get update && \
17
- apt-get install -y \
18
- git \
19
- jq \
20
- libatomic1 \
21
- nano \
22
- net-tools \
23
- netcat \
24
- sudo && \
25
- echo "**** install code-server ****" && \
26
- if [ -z ${CODE_RELEASE+x} ]; then \
27
- CODE_RELEASE=$(curl -sX GET https://api.github.com/repos/coder/code-server/releases/latest \
28
- | awk '/tag_name/{print $4;exit}' FS='[""]' | sed 's|^v||'); \
29
- fi && \
30
- mkdir -p /app/code-server && \
31
- curl -o \
32
- /tmp/code-server.tar.gz -L \
33
- "https://github.com/coder/code-server/releases/download/v${CODE_RELEASE}/code-server-${CODE_RELEASE}-linux-amd64.tar.gz" && \
34
- tar xf /tmp/code-server.tar.gz -C \
35
- /app/code-server --strip-components=1 && \
36
- echo "**** clean up ****" && \
37
- apt-get clean && \
38
- rm -rf \
39
- /config/* \
40
- /tmp/* \
41
- /var/lib/apt/lists/* \
42
- /var/tmp/*
43
-
44
- # add local files
45
- COPY /code /
46
-
47
- # ports and volumes
48
- EXPOSE 8443