1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-28 14:06:27 +02:00
nfpm/acceptance/testdata/deb.dockerfile

11 lines
287 B
Plaintext
Raw Normal View History

2018-03-11 19:14:24 +01:00
FROM ubuntu
2018-03-11 19:24:44 +01:00
ARG package
COPY ${package} /tmp/foo.deb
2018-03-11 19:14:24 +01:00
RUN dpkg -i /tmp/foo.deb && \
test -e /usr/local/bin/fake && \
test -f /etc/foo/whatever.conf && \
echo wat >> /etc/foo/whatever.conf && \
dpkg -r foo && \
test -f /etc/foo/whatever.conf && \
test ! -f /usr/local/bin/fake