mirror of
https://github.com/goreleaser/nfpm
synced 2024-06-08 08:26:34 +02:00
11 lines
292 B
Docker
11 lines
292 B
Docker
FROM alpine:3.12
|
|
ARG package
|
|
COPY ${package} /tmp/foo.apk
|
|
RUN apk add --allow-untrusted /tmp/foo.apk
|
|
RUN test -e /usr/local/bin/fake
|
|
RUN test -f /etc/foo/whatever.conf
|
|
RUN echo wat >> /etc/foo/whatever.conf
|
|
RUN apk del foo
|
|
RUN test -f /etc/foo/whatever.conf
|
|
RUN test ! -f /usr/local/bin/fake
|