-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (24 loc) · 712 Bytes
/
Copy pathDockerfile
File metadata and controls
32 lines (24 loc) · 712 Bytes
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
FROM python:3.13-trixie AS build
ARG PIPX_HOME=/opt/pipx
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
pipx \
python3.13-dev \
build-essential \
&& pipx ensurepath \
&& pipx install aggregate6
FROM python:3.13-slim-trixie AS final
RUN set -x \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
curl \
jq \
pipx
COPY --from=build /opt/pipx/venvs/aggregate6 /opt/pipx/venvs/aggregate6
COPY --chmod=755 ui-update-asn-routes.sh /usr/local/bin/ui-update-asn-routes
USER nobody
ENV PATH="/opt/pipx/venvs/aggregate6/bin:$PATH"
WORKDIR /home
ENTRYPOINT ["ui-update-asn-routes"]
CMD []