This repository was archived by the owner on May 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +21
-13
lines changed
root/etc/s6-overlay/s6-rc.d Expand file tree Collapse file tree 8 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:3.16
1
+ # syntax=docker/dockerfile:1
2
+
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:3.17
2
4
3
5
# set version label
4
6
ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
10
12
RUN \
11
13
echo "**** install build packages ****" && \
12
14
apk add --no-cache --virtual=build-dependencies \
13
- build-base \
14
- jq && \
15
+ build-base && \
15
16
echo "**** fetch source code ****" && \
16
17
if [ -z ${ENDLESSH_RELEASE+x} ]; then \
17
18
ENDLESSH_RELEASE=$(curl -sX GET "https://api.github.com/repos/skeeto/endlessh/commits/master" \
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.16
1
+ # syntax=docker/dockerfile:1
2
+
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17
2
4
3
5
# set version label
4
6
ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
10
12
RUN \
11
13
echo "**** install build packages ****" && \
12
14
apk add --no-cache --virtual=build-dependencies \
13
- build-base \
14
- jq && \
15
+ build-base && \
15
16
echo "**** fetch source code ****" && \
16
17
if [ -z ${ENDLESSH_RELEASE+x} ]; then \
17
18
ENDLESSH_RELEASE=$(curl -sX GET "https://api.github.com/repos/skeeto/endlessh/commits/master" \
Original file line number Diff line number Diff line change 1
- FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.16
1
+ # syntax=docker/dockerfile:1
2
+
3
+ FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
2
4
3
5
# set version label
4
6
ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
10
12
RUN \
11
13
echo "**** install build packages ****" && \
12
14
apk add --no-cache --virtual=build-dependencies \
13
- build-base \
14
- jq && \
15
+ build-base && \
15
16
echo "**** fetch source code ****" && \
16
17
if [ -z ${ENDLESSH_RELEASE+x} ]; then \
17
18
ENDLESSH_RELEASE=$(curl -sX GET "https://api.github.com/repos/skeeto/endlessh/commits/master" \
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
237
237
238
238
## Versions
239
239
240
+ * ** 05.03.23:** - Rebase to Alpine 3.17.
240
241
* ** 23.09.22:** - Migrate to s6v3.
241
242
* ** 20.07.22:** - Rebase to Alpine 3.16.
242
243
* ** 16.04.22:** - Rebase to Alpine 3.15.
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ app_setup_block: |
54
54
55
55
# changelog
56
56
changelogs :
57
+ - { date: "05.03.23:", desc: "Rebase to Alpine 3.17." }
57
58
- { date: "23.09.22:", desc: "Migrate to s6v3." }
58
59
- { date: "20.07.22:", desc: "Rebase to Alpine 3.16." }
59
60
- { date: "16.04.22:", desc: "Rebase to Alpine 3.15." }
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
+ # shellcheck shell=bash
2
3
3
- if [ "${LOGFILE}" == "true" ]; then
4
+ if [[ "${LOGFILE}" == "true" ] ]; then
4
5
mkdir -p /config/logs/endlessh
5
6
fi
6
7
7
8
# permissions
8
- chown -R abc:abc \
9
+ lsiown -R abc:abc \
9
10
/config \
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
+ # shellcheck shell=bash
2
3
3
- if [ "${LOGFILE}" == "true" ]; then
4
+ if [[ "${LOGFILE}" == "true" ] ]; then
4
5
exec \
5
6
s6-setuidgid abc s6-log n30 s1000000 S30000000 T !"gzip -nq9" /config/logs/endlessh
6
7
else
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv bash
2
+ # shellcheck shell=bash
2
3
3
4
export \
4
5
MSDELAY=${MSDELAY:-10000} \
7
8
BINDFAMILY=$(test v4 = v"${BINDFAMILY}" -o v6 = v"${BINDFAMILY}" && echo -"${BINDFAMILY}")
8
9
9
10
exec 2>&1 \
10
- s6-notifyoncheck -d -n 60 -w 5000 -c "nc -z 127.0.0.1 2222" \
11
+ s6-notifyoncheck -d -n 60 -w 5000 -c "nc -z localhost 2222" \
11
12
s6-setuidgid abc \
12
13
/app/endlessh/endlessh \
13
14
-v \
You can’t perform that action at this time.
0 commit comments