-
Notifications
You must be signed in to change notification settings - Fork 18
/
Dockerfile
43 lines (38 loc) · 1.09 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM registry.fedoraproject.org/fedora:latest
LABEL maintainer="PnT DevOps Automation - Red Hat, Inc." \
vendor="PnT DevOps Automation - Red Hat, Inc." \
summary="Image used to run tests by GitLab pipelines." \
distribution-scope="public"
# hack to permit tagging the docker image with the git hash
# stolen from:
# https://blog.scottlowe.org/2017/11/08/how-tag-docker-images-git-commit-information/
ARG GIT_COMMIT=unspecified
LABEL git_commit=$GIT_COMMIT
COPY certs/ /etc/pki/ca-trust/source/anchors/
RUN /usr/bin/update-ca-trust
RUN dnf update -y && dnf install -y --setopt=tsflags=nodocs \
git \
gcc \
libxcrypt-compat \
python3 \
python3-pip \
python3-devel \
python3-tox \
openldap-devel \
openssl-devel \
krb5-devel \
popt-devel \
libpq-devel \
libffi-devel \
graphviz-devel \
libxml2-devel \
libxslt-devel \
hunspell \
hunspell-en-US \
enchant \
libarchive-devel \
libacl-devel \
ShellCheck \
hadolint \
&& dnf clean all
RUN pip3 install awxkit