FROM alpine 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