-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
27 lines (21 loc) · 1.08 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
ARG PYTHON_VER=3.10
FROM python:${PYTHON_VER}-slim
RUN pip install --upgrade pip
WORKDIR /local
COPY . /local
LABEL maintainer="Thomas Grimonet <tom@inetsix.net>"
LABEL "org.opencontainers.image.title"="eos-downloader" \
"org.opencontainers.image.description"="eos-downloader container" \
"org.opencontainers.artifact.description"="A CLI to manage Arista EOS version download" \
"org.opencontainers.image.source"="https://github.com/titom73/eos-downloader" \
"org.opencontainers.image.url"="https://github.com/titom73/eos-downloader" \
"org.opencontainers.image.documentation"="https://github.com/titom73/eos-downloader" \
"org.opencontainers.image.licenses"="Apache-2.0" \
"org.opencontainers.image.vendor"="N/A" \
"org.opencontainers.image.authors"="Thomas Grimonet <tom@inetsix.net>" \
"org.opencontainers.image.base.name"="python" \
"org.opencontainers.image.revision"="dev" \
"org.opencontainers.image.version"="dev"
ENV PYTHONPATH=/local
RUN pip --no-cache-dir install .
ENTRYPOINT [ "/usr/local/bin/ardl" ]