File: Dockerfile

package info (click to toggle)
lexicon 3.21.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 72,684 kB
  • sloc: python: 20,075; sh: 94; makefile: 11
file content (16 lines) | stat: -rw-r--r-- 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.13.1-slim
LABEL org.opencontainers.image.authors="adferrand@github"

# Setup dependencies
RUN apt-get update \
 && apt-get -y install cron rsyslog git --no-install-recommends \
 && rm -rf /var/lib/apt/lists/*

# Install dns-lexicon
ARG LEXICON_VERSION=3.*
ENV LEXICON_VERSION="${LEXICON_VERSION}"
RUN pip install "dns-lexicon[full]==${LEXICON_VERSION}"

# Add and configure entrypoint
COPY --chmod=755 docker/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]