dncurrency/docker/sign/Dockerfile-signer
Russel Waters 8a2f0d39db
initial centos cleanup
rpm build image, and signing container

rpm build updates
2022-06-06 17:25:38 -03:00

24 lines
514 B
Text

FROM python:3.9-buster
ENV DEBIAN_FRONTEND="noninteractive"
ENV TZ="America/Los_Angeles"
ENV GPG_TTY=/dev/console
ARG GPG_PRIVATE_KEY
ARG GPG_SIGNER
## Install required for rpm signing
RUN apt-get update -yqq && \
apt-get install -y librpmsign8 gnupg2 wget rpm
## Additional for mkrepo support
RUN python3 -m pip install mkrepo boto3
#WORKDIR /signing
#RUN python3 -m venv && .venv/bin/pip install mkrepo
## Control Entrypoint
ADD docker/sign/entry.sh /usr/local/bin/entry.sh
ENTRYPOINT [ "entry.sh" ]