1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-10-01 14:51:15 +02:00
nfpm/acceptance/testdata/deb.dockerfile
Carlos Alexandro Becker 1238660a59
test: acceptance tests for globs
refs #17
2018-03-25 15:58:44 -03:00

11 lines
269 B
Docker

FROM ubuntu
ARG package
COPY ${package} /tmp/foo.deb
RUN dpkg -i /tmp/foo.deb
RUN test -e /usr/local/bin/fake
RUN test -f /etc/foo/whatever.conf
RUN echo wat >> /etc/foo/whatever.conf
RUN dpkg -r foo
RUN test -f /etc/foo/whatever.conf
RUN test ! -f /usr/local/bin/fake