mirror of
https://github.com/goreleaser/nfpm
synced 2024-04-30 12:05:11 +02:00
c4ae30d749
* feat: cleanup and simplify the file adding interface * docs: update the configuration docs to focus on the new contents format for specifying files * docs: correct spelling Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
14 lines
329 B
Docker
14 lines
329 B
Docker
FROM ubuntu
|
|
ARG package
|
|
COPY dummy.deb /tmp/dummy.deb
|
|
COPY ${package} /tmp/foo.deb
|
|
|
|
# install dummy package
|
|
RUN dpkg -i /tmp/dummy.deb
|
|
|
|
# make sure foo can't be installed
|
|
RUN dpkg -i /tmp/foo.deb 2>&1 | grep "foo breaks dummy"
|
|
|
|
# make sure foo can be installed if dummy is not installed
|
|
RUN dpkg -r dummy
|
|
RUN dpkg -i /tmp/foo.deb |