mirror of
https://github.com/truecharts/charts.git
synced 2026-07-07 04:21:28 -03:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | ubuntu | final | digest | `9cbed75` -> `353675e` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### 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:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjgyLjEwIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvZGlnZXN0Il19-->
114 lines
3.3 KiB
Docker
114 lines
3.3 KiB
Docker
# hadolint ignore=DL3007
|
|
FROM ubuntu:latest@sha256:353675e2a41babd526e2b837d7ec780c2a05bca0164f7ea5dbbd433d21d166fc
|
|
|
|
ARG TARGETPLATFORM
|
|
ARG VERSION
|
|
|
|
USER root
|
|
|
|
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|
|
|
ENV \
|
|
DEBCONF_NONINTERACTIVE_SEEN=true \
|
|
DEBIAN_FRONTEND="noninteractive" \
|
|
APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=DontWarn \
|
|
UMASK="0002" \
|
|
TZ="Etc/UTC"
|
|
|
|
WORKDIR /app
|
|
|
|
RUN \
|
|
set -eux \
|
|
&& echo 'APT::Install-Recommends "false";' >/etc/apt/apt.conf.d/00recommends \
|
|
&& echo 'APT::Install-Suggests "false";' >>/etc/apt/apt.conf.d/00recommends \
|
|
&& echo 'APT::Get::Install-Recommends "false";' >>/etc/apt/apt.conf.d/00recommends \
|
|
&& echo 'APT::Get::Install-Suggests "false";' >>/etc/apt/apt.conf.d/00recommends \
|
|
&& \
|
|
apt-get -qq update \
|
|
&& \
|
|
apt-get install -y \
|
|
bash \
|
|
ca-certificates \
|
|
curl \
|
|
dnsutils \
|
|
iputils-ping \
|
|
jo \
|
|
jq \
|
|
gnupg \
|
|
locales \
|
|
moreutils \
|
|
pv \
|
|
tini \
|
|
nano \
|
|
tzdata \
|
|
vim-tiny \
|
|
unrar \
|
|
unzip \
|
|
wget \
|
|
redis-server \
|
|
postgresql-client \
|
|
mariadb-client \
|
|
libicu74 \
|
|
pv \
|
|
git \
|
|
&& \
|
|
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
|
|
&& ln -s /usr/bin/vim.tiny /usr/local/bin/vi \
|
|
&& ln -s /usr/bin/vim.tiny /usr/local/bin/vim \
|
|
&& ln -s /usr/bin/vim.tiny /usr/local/bin/nano \
|
|
&& ln -s /usr/bin/vim.tiny /usr/local/bin/emacs
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
VOLUME ["/config"]
|
|
|
|
COPY ./containers/apps/db-wait-mongodb/shim /shim
|
|
|
|
# hadolint ignore=DL3008,DL3015,SC2086,SC2155,DL4001
|
|
RUN \
|
|
curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg \
|
|
&& \
|
|
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | apt-key add - \
|
|
&& \
|
|
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-6.0.list \
|
|
&& \
|
|
case "${TARGETPLATFORM}" in \
|
|
'linux/amd64') export ARCH='linux-x64' ;; \
|
|
esac \
|
|
&& \
|
|
apt-get -qq update \
|
|
&& \
|
|
apt-get -qq install -y \
|
|
mongodb-mongosh \
|
|
&& apt-get remove -y \
|
|
jq \
|
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
|
|
&& apt-get autoremove -y \
|
|
&& apt-get clean \
|
|
&& \
|
|
rm -rf \
|
|
/tmp/* \
|
|
/var/lib/apt/lists/* \
|
|
/var/tmp/ \
|
|
&& chmod -R u=rwX,go=rX /app \
|
|
&& printf "umask %d" "${UMASK}" >> /etc/bash.bashrc \
|
|
&& update-ca-certificates
|
|
|
|
USER apps
|
|
|
|
COPY ./containers/apps/db-wait-mongodb/entrypoint.sh /entrypoint.sh
|
|
CMD ["/entrypoint.sh"]
|
|
|
|
LABEL "maintainer"="TrueCharts <info@truecharts.org>"
|
|
LABEL "org.opencontainers.image.source"="https://github.com/truecharts/apps"
|
|
|
|
ARG CONTAINER_NAME
|
|
ARG CONTAINER_VER
|
|
LABEL org.opencontainers.image.licenses="BSD-3-Clause"
|
|
LABEL org.opencontainers.image.title="${CONTAINER_NAME}"
|
|
LABEL org.opencontainers.image.url="https://truecharts.org/docs/charts/${CONTAINER_NAME}"
|
|
LABEL org.opencontainers.image.version="${CONTAINER_VER}"
|
|
LABEL org.opencontainers.image.description="Container for ${CONTAINER_NAME} by TrueCharts"
|
|
LABEL org.opencontainers.image.authors="TrueCharts"
|
|
LABEL org.opencontainers.image.documentation="https://truecharts.org/docs/charts/${CONTAINER_NAME}"
|