Skip to content

Commit

Permalink
change base image
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhotio committed Jan 23, 2024
1 parent 866071b commit 8a5f0ce
Show file tree
Hide file tree
Showing 19 changed files with 4 additions and 45 deletions.
6 changes: 3 additions & 3 deletions VERSION.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "2.7.6",
"changelog": "https://github.com/caddyserver/caddy/compare/v2.7.5...v2.7.6",
"upstream_image": "ghcr.io/hotio/base",
"upstream_tag": "alpine",
"upstream_digest_amd64": "sha256:aba1ad70d73a01a04940ceefcc0506c8867aa99be1e1598f7f57d79dc462ba1d",
"upstream_digest_arm64": "sha256:5f44dcee2c34486af761dca45b1a7b57ef953ee485050544c2255c6f21ed0278",
"upstream_tag": "alpinevpn",
"upstream_digest_amd64": "sha256:e8c549548c101b12abc2fc9399c6c6dc33e5d56603e01f6e3e23fed42d08d54a",
"upstream_digest_arm64": "sha256:b4fca2fdedc503aaa5f73aa1483c442d0ba03113bd359a0ab47ed75a33e5bd9b",
"test_url": "http://localhost:8080"
}
1 change: 0 additions & 1 deletion linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RUN xcaddy_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://ap

FROM ${UPSTREAM_IMAGE}@${UPSTREAM_DIGEST_AMD64}
EXPOSE 8080 8443
VOLUME ["${CONFIG_DIR}"]
ENV CUSTOM_BUILD=""
COPY --from=builder /caddy-bin "${APP_DIR}/caddy"
COPY root/ /
1 change: 0 additions & 1 deletion linux-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ RUN xcaddy_version=$(curl -u "${GITHUB_ACTOR}:${GITHUB_TOKEN}" -fsSL "https://ap

FROM ${UPSTREAM_IMAGE}@${UPSTREAM_DIGEST_ARM64}
EXPOSE 8080 8443
VOLUME ["${CONFIG_DIR}"]
ENV CUSTOM_BUILD=""
COPY --from=builder /caddy-bin "${APP_DIR}/caddy"
COPY root/ /
1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-perms/up

This file was deleted.

19 changes: 0 additions & 19 deletions root/etc/s6-overlay/s6-rc.d/init-secrets/run

This file was deleted.

1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-secrets/type

This file was deleted.

1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-secrets/up

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,10 @@ echo "
----------------------------------------------------------------------
ENVIRONMENT
----------------------------------------------------------------------
PUID=${PUID}
PGID=${PGID}
UMASK=${UMASK}
TZ=${TZ}
CUSTOM_BUILD=${CUSTOM_BUILD}
----------------------------------------------------------------------
"

echo "Executing usermod..."
mkdir "/tmp/temphome"
usermod -d "/tmp/temphome" hotio
usermod -o -u "${PUID}" hotio
usermod -d "${CONFIG_DIR}" hotio
rm -rf "/tmp/temphome"
groupmod -o -g "${PGID}" hotio

echo "Applying permissions to ${CONFIG_DIR}"
chmod "=rwx" "${CONFIG_DIR}"
chown hotio:hotio "${CONFIG_DIR}"

if [[ ! -f "${CONFIG_DIR}/Caddyfile" ]]; then
echo "Installing default \"Caddyfile\"..."
cp "${APP_DIR}/Caddyfile" "${CONFIG_DIR}/Caddyfile"
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-setup-app/up
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-setup-app/run
Empty file.
1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-setup/type

This file was deleted.

1 change: 0 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/init-setup/up

This file was deleted.

Empty file.
Empty file.
Empty file.

0 comments on commit 8a5f0ce

Please sign in to comment.