Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

Commit 7c04971

Browse files
authored
Merge pull request #13 from linuxserver/3.17
2 parents 7fabd20 + a1b0f7a commit 7c04971

File tree

8 files changed

+21
-13
lines changed

8 files changed

+21
-13
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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
46
ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
1012
RUN \
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" \

Dockerfile.aarch64

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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
46
ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
1012
RUN \
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" \

Dockerfile.armhf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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
46
ARG BUILD_DATE
@@ -10,8 +12,7 @@ LABEL maintainer="aptalca"
1012
RUN \
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" \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ app_setup_block: |
5454
5555
# changelog
5656
changelogs:
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." }
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
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
56
fi
67

78
# permissions
8-
chown -R abc:abc \
9+
lsiown -R abc:abc \
910
/config \

root/etc/s6-overlay/s6-rc.d/log-endlessh/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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
67
else

root/etc/s6-overlay/s6-rc.d/svc-endlessh/run

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/with-contenv bash
2+
# shellcheck shell=bash
23

34
export \
45
MSDELAY=${MSDELAY:-10000} \
@@ -7,7 +8,7 @@ export \
78
BINDFAMILY=$(test v4 = v"${BINDFAMILY}" -o v6 = v"${BINDFAMILY}" && echo -"${BINDFAMILY}")
89

910
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" \
1112
s6-setuidgid abc \
1213
/app/endlessh/endlessh \
1314
-v \

0 commit comments

Comments
 (0)