mirror of
https://github.com/sstent/containers.git
synced 2025-12-06 08:01:51 +00:00
sync
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG TARGETVARIANT
|
||||
ARG BUILDPLATFORM
|
||||
ARG BUILDOS
|
||||
ARG BUILDARCH
|
||||
ARG BUILDVARIANT
|
||||
ARG RELEASE=latest
|
||||
RUN apk add --no-cache --virtual .run-deps rsync openssh tzdata curl ca-certificates flock bash tar wget unzip && rm -rf /var/cache/apk/*
|
||||
RUN echo $RELEASE
|
||||
RUN echo $TARGETPLATFORM $TARGETOS $TARGETARCH $TARGETVARIANT $BUILDPLATFORM $BUILDOS $BUILDARCH $BUILDVARIANT
|
||||
RUN env
|
||||
RUN wget -P /tmp https://github.com/benbjohnson/litestream/releases/download/${RELEASE}/litestream-${RELEASE}-linux-arm7-static.tar.gz && \
|
||||
tar -C /usr/local/bin/ -xzvf /tmp/litestream-${RELEASE}-linux-arm7-static.tar.gz
|
||||
|
||||
|
||||
Reference in New Issue
Block a user