diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-05-11 09:25:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-12 05:31:22 +0000 |
commit | 7ad1d0e0af695fa7f872b740a1bb7b2897eb41bd (patch) | |
tree | 13dd59a8ea98206a8c56ffd466f59c146f9f19c7 /Dockerfile.docker | |
parent | Initial commit. (diff) | |
download | eos-downloader-7ad1d0e0af695fa7f872b740a1bb7b2897eb41bd.tar.xz eos-downloader-7ad1d0e0af695fa7f872b740a1bb7b2897eb41bd.zip |
Adding upstream version 0.8.1.upstream/0.8.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | Dockerfile.docker | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Dockerfile.docker b/Dockerfile.docker new file mode 100644 index 0000000..72ef4e5 --- /dev/null +++ b/Dockerfile.docker @@ -0,0 +1,34 @@ +ARG PYTHON_VER=3.10 + +FROM python:${PYTHON_VER}-slim + +RUN apt-get update \ + && apt-get install -y --no-install-recommends ca-certificates \ + curl \ + gnupg \ + lsb-release \ + && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ + gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg \ + && echo \ + "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ + $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \ + && apt-get update \ + && apt-get install -y --no-install-recommends docker-ce-cli \ + && rm -rf /var/lib/apt/lists/* \ + && rm -Rf /usr/share/doc && rm -Rf /usr/share/man \ + && apt-get clean + +RUN pip install --upgrade pip + +WORKDIR /local +COPY . /local + +LABEL maintainer="Thomas Grimonet <tom@inetsix.net>" +LABEL com.example.version="edge" +LABEL com.example.release-date="2022-04-05" +LABEL com.example.version.is-production="False" + +ENV PYTHONPATH=/local +RUN pip --no-cache-dir install . + +ENTRYPOINT [ "/usr/local/bin/ardl" ]
\ No newline at end of file |