Browse Source

feat: add OCI maintainer labels

dev
Dnomd343 4 weeks ago
parent
commit
dd3c192c5c
  1. 4
      Dockerfile

4
Dockerfile

@ -15,6 +15,10 @@ RUN --mount=type=bind,rw,source=./src/,target=./src/ \
uv build --wheel -o /wheels/
FROM ${PYTHON}
LABEL org.opencontainers.image.vendor="Dnomd343"
LABEL org.opencontainers.image.authors="dnomd343@gmail.com"
LABEL org.opencontainers.image.source="https://github.com/dnomd343/syncplay-docker.git"
RUN sh -c '[ $(apk info -e libgcc) ] || apk add --no-cache libgcc'
RUN --mount=type=cache,ro,from=builder,source=/wheels/,target=/wheels/ \
PYTHONDONTWRITEBYTECODE=1 pip install --no-index --no-compile --no-cache-dir --find-links=/wheels/ /wheels/*.whl

Loading…
Cancel
Save