leplusorg/qrcode

Sponsored OSS

By Leplus.org

Updated about 6 hours ago

Multi-platform Docker container with utilities to process QR codes.

Image
Languages & frameworks
Integration & delivery
1

100K+

Dockerfile
FROM alpine:3.24.1@sha256:28bd5fe8b56d1bd048e5babf5b10710ebe0bae67db86916198a6eec434943f8b

HEALTHCHECK NONE

ENTRYPOINT []

ARG USER_NAME=default
ARG USER_HOME=/home/default
ARG USER_ID=1000
ARG USER_GECOS=Default

SHELL ["/bin/ash", "-euo", "pipefail", "-c"]

RUN apk upgrade --no-cache \
    && apk add --no-cache \
    coreutils=9.11-r0 \
    curl=8.21.0-r0 \
    git=2.54.0-r0 \
    libqrencode-tools=4.1.1-r3 \
    py3-pip=26.1.2-r0 \
    python3=3.14.5-r0 \
    && apk cache --no-cache clean \
    && rm -rf /var/cache/apk/*

RUN adduser \
  --home "${USER_HOME}" \
  --uid "${USER_ID}" \
  --gecos "${USER_GECOS}" \
  --disabled-password \
  "${USER_NAME}"

USER "${USER_NAME}"

ENV HOME="${USER_HOME}"

WORKDIR "${HOME}"