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
24
35# set version label
46ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
1012RUN \
1113 echo "**** install build packages ****" && \
1214 apk add --no-cache --virtual=build-dependencies \
13- build-base \
14- jq && \
15+ build-base && \
1516 echo "**** fetch source code ****" && \
1617 if [ -z ${ENDLESSH_RELEASE+x} ]; then \
1718 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
24
35# set version label
46ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
1012RUN \
1113 echo "**** install build packages ****" && \
1214 apk add --no-cache --virtual=build-dependencies \
13- build-base \
14- jq && \
15+ build-base && \
1516 echo "**** fetch source code ****" && \
1617 if [ -z ${ENDLESSH_RELEASE+x} ]; then \
1718 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
24
35# set version label
46ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
1012RUN \
1113 echo "**** install build packages ****" && \
1214 apk add --no-cache --virtual=build-dependencies \
13- build-base \
14- jq && \
15+ build-base && \
1516 echo "**** fetch source code ****" && \
1617 if [ -z ${ENDLESSH_RELEASE+x} ]; then \
1718 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
237237
238238## Versions
239239
240+ * ** 05.03.23:** - Rebase to Alpine 3.17.
240241* ** 23.09.22:** - Migrate to s6v3.
241242* ** 20.07.22:** - Rebase to Alpine 3.16.
242243* ** 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: |
5454
5555# changelog
5656changelogs :
57+ - { date: "05.03.23:", desc: "Rebase to Alpine 3.17." }
5758 - { date: "23.09.22:", desc: "Migrate to s6v3." }
5859 - { date: "20.07.22:", desc: "Rebase to Alpine 3.16." }
5960 - { date: "16.04.22:", desc: "Rebase to Alpine 3.15." }
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
2+ # shellcheck shell=bash
23
3- if [ "${LOGFILE}" == "true" ]; then
4+ if [[ "${LOGFILE}" == "true" ] ]; then
45 mkdir -p /config/logs/endlessh
56fi
67
78# permissions
8- chown -R abc:abc \
9+ lsiown -R abc:abc \
910 /config \
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
2+ # shellcheck shell=bash
23
3- if [ "${LOGFILE}" == "true" ]; then
4+ if [[ "${LOGFILE}" == "true" ] ]; then
45 exec \
56 s6-setuidgid abc s6-log n30 s1000000 S30000000 T !"gzip -nq9" /config/logs/endlessh
67else
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
2+ # shellcheck shell=bash
23
34export \
45 MSDELAY=${MSDELAY:-10000} \
78 BINDFAMILY=$(test v4 = v"${BINDFAMILY}" -o v6 = v"${BINDFAMILY}" && echo -"${BINDFAMILY}")
89
910exec 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" \
1112 s6-setuidgid abc \
1213 /app/endlessh/endlessh \
1314 -v \
You can’t perform that action at this time.
0 commit comments