Skip to content

Commit 16cdab2

Browse files
committed
Fix repo url
1 parent e1e9d15 commit 16cdab2

5 files changed

Lines changed: 18 additions & 13 deletions

File tree

tag-browse/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM quay.io/vektorlab/ctop as demyx_ctop
22
FROM koalaman/shellcheck as demyx_shellcheck
3-
FROM debian:bookworm-slim
3+
FROM debian:stable-slim
44

55
LABEL sh.demyx.image demyx/code-server:browse
66
LABEL sh.demyx.maintainer Demyx <info@demyx.sh>
@@ -94,9 +94,10 @@ COPY --chown=demyx:demyx config "$DEMYX_CONFIG"
9494
# Configure code-server
9595
RUN set -ex; \
9696
# Get code-server
97-
CODE_VERSION="$(curl -sL https://api.github.com/repos/cdr/code-server/releases/latest | jq -r .tag_name)"; \
97+
CODE_VERSION="$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest | jq -r .tag_name)"; \
98+
test -n "$CODE_VERSION" && test "$CODE_VERSION" != "null"; \
9899
CODE_VERSION_NUMBER="$(echo "$CODE_VERSION" | sed 's|v||g')"; \
99-
curl -sL https://github.com/cdr/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
100+
curl -fsSL https://github.com/coder/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
100101
tar -xzf /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz -C /tmp; \
101102
mv /tmp/code-server-"$CODE_VERSION_NUMBER"-linux-amd64 /usr/local/lib/code-server; \
102103
\

tag-go/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM quay.io/vektorlab/ctop as demyx_ctop
22
FROM docker as demyx_docker
33
FROM golang:buster as demyx_go
44
FROM koalaman/shellcheck as demyx_shellcheck
5-
FROM debian:bookworm-slim
5+
FROM debian:stable-slim
66

77
LABEL sh.demyx.image demyx/code-server:go
88
LABEL sh.demyx.maintainer Demyx <info@demyx.sh>
@@ -87,9 +87,10 @@ COPY --chown=demyx:demyx config "$DEMYX_CONFIG"
8787
# Configure code-server
8888
RUN set -ex; \
8989
# Get code-server
90-
CODE_VERSION="$(curl -sL https://api.github.com/repos/cdr/code-server/releases/latest | jq -r .tag_name)"; \
90+
CODE_VERSION="$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest | jq -r .tag_name)"; \
91+
test -n "$CODE_VERSION" && test "$CODE_VERSION" != "null"; \
9192
CODE_VERSION_NUMBER="$(echo "$CODE_VERSION" | sed 's|v||g')"; \
92-
curl -sL https://github.com/cdr/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
93+
curl -fsSL https://github.com/coder/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
9394
tar -xzf /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz -C /tmp; \
9495
mv /tmp/code-server-"$CODE_VERSION_NUMBER"-linux-amd64 /usr/local/lib/code-server; \
9596
\

tag-latest/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM quay.io/vektorlab/ctop as demyx_ctop
22
FROM docker as demyx_docker
33
FROM koalaman/shellcheck as demyx_shellcheck
4-
FROM debian:bookworm-slim
4+
FROM debian:stable-slim
55

66
LABEL sh.demyx.image demyx/code-server
77
LABEL sh.demyx.maintainer Demyx <info@demyx.sh>
@@ -84,9 +84,10 @@ COPY --chown=demyx:demyx config "$DEMYX_CONFIG"
8484
# Configure code-server
8585
RUN set -ex; \
8686
# Get code-server
87-
CODE_VERSION="$(curl -sL https://api.github.com/repos/cdr/code-server/releases/latest | jq -r .tag_name)"; \
87+
CODE_VERSION="$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest | jq -r .tag_name)"; \
88+
test -n "$CODE_VERSION" && test "$CODE_VERSION" != "null"; \
8889
CODE_VERSION_NUMBER="$(echo "$CODE_VERSION" | sed 's|v||g')"; \
89-
curl -sL https://github.com/cdr/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
90+
curl -fsSL https://github.com/coder/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
9091
tar -xzf /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz -C /tmp; \
9192
mv /tmp/code-server-"$CODE_VERSION_NUMBER"-linux-amd64 /usr/local/lib/code-server; \
9293
\

tag-openlitespeed/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,10 @@ COPY --chown=demyx:demyx config "$DEMYX_CONFIG"
284284
# Configure code-server
285285
RUN set -ex; \
286286
# Get code-server
287-
CODE_VERSION="$(curl -sL https://api.github.com/repos/cdr/code-server/releases/latest | jq -r .tag_name)"; \
287+
CODE_VERSION="$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest | jq -r .tag_name)"; \
288+
test -n "$CODE_VERSION" && test "$CODE_VERSION" != "null"; \
288289
CODE_VERSION_NUMBER="$(echo "$CODE_VERSION" | sed 's|v||g')"; \
289-
curl -sL https://github.com/cdr/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
290+
curl -fsSL https://github.com/coder/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
290291
tar -xzf /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz -C /tmp; \
291292
mv /tmp/code-server-"$CODE_VERSION_NUMBER"-linux-amd64 /usr/local/lib/code-server; \
292293
\

tag-wp/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,10 @@ COPY --chown=demyx:demyx config "$DEMYX_CONFIG"
177177
# Configure code-server
178178
RUN set -ex; \
179179
# Get code-server
180-
CODE_VERSION="$(curl -sL https://api.github.com/repos/cdr/code-server/releases/latest | jq -r .tag_name)"; \
180+
CODE_VERSION="$(curl -fsSL https://api.github.com/repos/coder/code-server/releases/latest | jq -r .tag_name)"; \
181+
test -n "$CODE_VERSION" && test "$CODE_VERSION" != "null"; \
181182
CODE_VERSION_NUMBER="$(echo "$CODE_VERSION" | sed 's|v||g')"; \
182-
curl -sL https://github.com/cdr/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
183+
curl -fsSL https://github.com/coder/code-server/releases/download/"$CODE_VERSION"/code-server-"$CODE_VERSION_NUMBER"-linux-amd64.tar.gz -o /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz; \
183184
tar -xzf /tmp/code-server-"$CODE_VERSION"-linux-amd64.tar.gz -C /tmp; \
184185
mv /tmp/code-server-"$CODE_VERSION_NUMBER"-linux-amd64 /usr/local/lib/code-server; \
185186
\

0 commit comments

Comments
 (0)