Skip to content
Snippets Groups Projects
Unverified Commit 81a10c72 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

URGH ARGH

parent 52b24fcb
No related branches found
No related tags found
No related merge requests found
Pipeline #586527 failed
ARG DEBIAN_FRONTEND=noninteractive
FROM debian:bookworm-slim as builder
# Ugh ugh urggggh aaaargh
FROM registry.gitlab.apertis.org/infrastructure/obs-proxy/obs-proxy:add-logging-chunked
LABEL maintainer Andrej Shadura <andrew.shadura@collabora.co.uk>
ENV LC_ALL=C.UTF-8
RUN apt-get update \
&& apt-get install -y python3 \
python3-pip python3-xdg ssl-cert
COPY . /tmp/proxy
RUN cd /tmp/proxy && python3 setup.py install
# Build server container
FROM debian:bookworm-slim as server
LABEL maintainer Andrej Shadura <andrew.shadura@collabora.co.uk>
ENV LC_ALL=C.UTF-8
RUN apt-get update \
&& apt-get install -y python3-minimal python3-xdg ssl-cert
COPY --from=builder /usr/local /usr/local
RUN mkdir -p /etc/obs-proxy
COPY proxy.conf /etc/obs-proxy/
#COPY docker-entrypoint.sh /opt/docker-entrypoint.sh
#ENTRYPOINT ["/opt/docker-entrypoint.sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment