kopia lustrzana https://github.com/modem7/docker-borgmatic
update DF for chmod + update to borgmatic 1.6.1
cleaned up dockerfilepull/41/head
rodzic
b607e1ea1e
commit
f509933290
|
@ -36,7 +36,7 @@ steps:
|
|||
from_secret: docker_password
|
||||
tags:
|
||||
- latest
|
||||
- 1.6.0-1.2.0
|
||||
- 1.6.1-1.2.0
|
||||
|
||||
- name: slack
|
||||
image: themaz/drone-slack
|
||||
|
|
|
@ -28,7 +28,7 @@ VOLUME /root/.config/borg
|
|||
VOLUME /root/.ssh
|
||||
VOLUME /root/.cache/borg
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=20s --retries=3 CMD borgmatic --version || exit 1
|
||||
COPY entry.sh /entry.sh
|
||||
COPY --chmod=755 entry.sh /entry.sh
|
||||
RUN apk update \
|
||||
&& apk upgrade \
|
||||
&& apk add --no-cache \
|
||||
|
@ -45,9 +45,9 @@ RUN apk update \
|
|||
mongodb-tools \
|
||||
curl \
|
||||
findmnt \
|
||||
&& rm -rf /var/cache/apk/* \
|
||||
/.cache \
|
||||
&& chmod 755 /entry.sh
|
||||
&& rm -rf \
|
||||
/var/cache/apk/* \
|
||||
/.cache
|
||||
COPY --from=builder /usr/lib/python${PYTHON_VERSION}/site-packages /usr/lib/python${PYTHON_VERSION}/
|
||||
COPY --from=builder /usr/bin/borg /usr/bin/
|
||||
COPY --from=builder /usr/bin/borgfs /usr/bin/
|
||||
|
|
Ładowanie…
Reference in New Issue