mirror of
https://github.com/truecharts/charts.git
synced 2026-07-08 11:51:22 -03:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | alpine | final | patch | `3.22.0` -> `3.22.1` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMC4wIiwidXBkYXRlZEluVmVyIjoiNDEuMjAuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhdXRvbWVyZ2UiLCJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19-->
43 lines
1.2 KiB
Docker
43 lines
1.2 KiB
Docker
FROM alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
|
|
|
|
ARG CONTAINER_NAME
|
|
ARG CONTAINER_VER
|
|
|
|
ENV XDG_CONFIG_HOME=/config
|
|
ENV UMASK=0002
|
|
|
|
USER root
|
|
|
|
SHELL ["/bin/sh", "-o", "pipefail", "-c"]
|
|
|
|
WORKDIR /app
|
|
|
|
# hadolint ignore=DL3018
|
|
RUN \
|
|
apk update && apk add --no-cache jq nano ca-certificates bash util-linux coreutils grep procps git\
|
|
&& addgroup apps -g 568 \
|
|
&& adduser apps -u 568 -g 568 -D -S -H \
|
|
&& mkdir -p /config \
|
|
&& chown -R apps:apps /config \
|
|
&& chmod -R 775 /config \
|
|
&& chown -R apps:apps /app \
|
|
&& chmod -R 775 /app \
|
|
&& update-ca-certificates
|
|
|
|
VOLUME [ "/config" ]
|
|
|
|
USER apps
|
|
|
|
COPY ./containers/base/alpine/entrypoint.sh /entrypoint.sh
|
|
COPY ./containers/base/alpine/shim /etc/profile.d
|
|
|
|
ENTRYPOINT ["/bin/ash", "--"]
|
|
|
|
LABEL org.opencontainers.image.licenses="BSD-3-Clause"
|
|
LABEL org.opencontainers.image.title="${CONTAINER_NAME}"
|
|
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
|
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/containers"
|
|
LABEL org.opencontainers.image.version="${CONTAINER_VER}"
|
|
LABEL org.opencontainers.image.description="Container for ${CONTAINER_NAME} by TrueCharts"
|
|
LABEL org.opencontainers.image.authors="TrueCharts"
|