mirror of
https://github.com/goreleaser/nfpm
synced 2024-05-17 15:36:19 +02:00
10 lines
242 B
Plaintext
10 lines
242 B
Plaintext
|
FROM ubuntu
|
||
|
ARG package
|
||
|
COPY ${package} /tmp/foo.deb
|
||
|
RUN dpkg -i /tmp/foo.deb
|
||
|
|
||
|
# simulate another package that activates the trigger
|
||
|
RUN dpkg-trigger --by-package foo manual-trigger
|
||
|
RUN dpkg --triggers-only foo
|
||
|
RUN test -f /tmp/trigger-proof
|