forked from release-engineering/repotracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (16 loc) · 708 Bytes
/
Dockerfile
File metadata and controls
21 lines (16 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM registry.fedoraproject.org/fedora:35
LABEL \
name="repotracker" \
vendor="EXD SP" \
maintainer="C3I Guild <[email protected]>" \
license="GPLv3" \
description="A microservice for tracking container repositories, and publishing a message when they change." \
usage="https://github.com/release-engineering/repotracker"
ARG DNF_CMD="dnf -y --setopt=deltarpm=0 --setopt=install_weak_deps=false --setopt=tsflags=nodocs"
CMD ["/usr/bin/repotracker"]
COPY repos/ /etc/yum.repos.d/
RUN ${DNF_CMD} install python3-pip python3-requests python3-service-identity python3-rhmsg skopeo && dnf -y clean all
WORKDIR /src
COPY . .
RUN python3 setup.py install --prefix /usr
USER 1001