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 9973853 commit b211c96
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 68 deletions.
6 changes: 3 additions & 3 deletions VERSION.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "0.13.1",
"changelog": "https://github.com/unpackerr/unpackerr/compare/v0.13.0...v0.13.1",
"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"
}
2 changes: 0 additions & 2 deletions linux-amd64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ RUN apk add --no-cache git build-base bash && \

FROM ${UPSTREAM_IMAGE}@${UPSTREAM_DIGEST_AMD64}

VOLUME ["${CONFIG_DIR}"]

COPY --from=builder /unpackerr/unpackerr.amd64.linux ${APP_DIR}/unpackerr
COPY --from=builder /unpackerr/examples/unpackerr.conf.example ${APP_DIR}/unpackerr.conf.example
RUN chmod 755 "${APP_DIR}/unpackerr"
Expand Down
2 changes: 0 additions & 2 deletions linux-arm64.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ RUN apk add --no-cache git build-base bash && \

FROM ${UPSTREAM_IMAGE}@${UPSTREAM_DIGEST_ARM64}

VOLUME ["${CONFIG_DIR}"]

COPY --from=builder /unpackerr/unpackerr.arm64.linux ${APP_DIR}/unpackerr
COPY --from=builder /unpackerr/examples/unpackerr.conf.example ${APP_DIR}/unpackerr.conf.example
RUN chmod 755 "${APP_DIR}/unpackerr"
Expand Down
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.

17 changes: 17 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-setup-app/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/command/with-contenv bash
# shellcheck shell=bash

umask "${UMASK}"

echo "
----------------------------------------------------------------------
ENVIRONMENT APP
----------------------------------------------------------------------

----------------------------------------------------------------------
"

if [[ ! -f "${CONFIG_DIR}/unpackerr.conf" ]]; then
cp "${APP_DIR}/unpackerr.conf.example" "${CONFIG_DIR}/unpackerr.conf"
chown hotio:hotio "${CONFIG_DIR}/unpackerr.conf"
fi
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.
37 changes: 0 additions & 37 deletions root/etc/s6-overlay/s6-rc.d/init-setup/run

This file was deleted.

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 b211c96

Please sign in to comment.