1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-03 07:36:18 +02:00
nfpm/acceptance/testdata/deb.386.dockerfile

11 lines
292 B
Plaintext
Raw Normal View History

2018-03-23 17:56:57 +01:00
FROM i386/ubuntu
ARG package
COPY ${package} /tmp/foo.deb
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