1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-10-01 14:51:15 +02:00
nfpm/acceptance/testdata/rpm.386.dockerfile
Carlos Alexandro Becker 26a86166dc
feat: test os ppc64le too
2019-03-19 21:34:06 -03:00

11 lines
282 B
Docker

FROM i386/centos
ARG package
COPY ${package} /tmp/foo.rpm
RUN rpm -ivh /tmp/foo.rpm
RUN test -e /usr/local/bin/fake
RUN test -f /etc/foo/whatever.conf
RUN echo wat >> /etc/foo/whatever.conf
RUN rpm -e foo
RUN test -f /etc/foo/whatever.conf.rpmsave
RUN test ! -f /usr/local/bin/fake