Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Dockerfile: Update version and add verification #75

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM registry.fedoraproject.org/fedora:25
FROM registry.fedoraproject.org/fedora:27
MAINTAINER Jonathan Lebon <[email protected]>

# NB: we install libyaml-devel so that we can use
# CSafeLoader in PyYAML (see related comment in the parser)

RUN dnf install -y \
RUN dnf install --setopt=tsflags=nodocs -y \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is necessary because those options are enabled by default in the fedora:27 image:

$ sudo docker run -it registry.fedoraproject.org/fedora:27 cat /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=3
clean_requirements_on_remove=True
tsflags=nodocs

git \
gcc \
sudo \
Expand All @@ -15,7 +15,18 @@ RUN dnf install -y \
python3-pip \
libyaml-devel \
nmap-ncat && \
dnf clean all
dnf clean all && \
rpm -V \
git \
gcc \
sudo \
docker \
findutils \
python3-devel \
redhat-rpm-config \
python3-pip \
libyaml-devel \
nmap-ncat

# There's a tricky bit here. We mount $PWD at $PWD in the
# container so that when we do the nested docker run in the
Expand Down