mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 13:23:12 +01:00
Release 2.3.2 - See CHANGELOG.md
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -148,7 +148,19 @@ RUN set -ex && \
|
||||
### Cleanup
|
||||
apk del .db-backup-build-deps && \
|
||||
rm -rf /usr/src/* && \
|
||||
rm -rf /tmp/* /var/cache/apk/*
|
||||
rm -rf /tmp/* /var/cache/apk/* && \
|
||||
\
|
||||
### Temp Hack for S6 Overlay && \
|
||||
### S6 installation
|
||||
apkArch="$(apk --print-arch)"; \
|
||||
case "$apkArch" in \
|
||||
x86_64) s6Arch='amd64' ;; \
|
||||
armhf) s6Arch='armhf' ;; \
|
||||
aarch64) s6Arch='aarch64' ;; \
|
||||
ppc64le) s6Arch='ppc64le' ;; \
|
||||
*) echo >&2 "Error: unsupported architecture ($apkArch)"; exit 1 ;; \
|
||||
esac; \
|
||||
curl -sSL https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${s6Arch}.tar.gz | tar xfz - -C /
|
||||
|
||||
### S6 Setup
|
||||
ADD install /
|
||||
|
||||
Reference in New Issue
Block a user