index (sha256:cfb6b78d728e07ee39d347bc76c4687699eb27bdb909c768f39d951b59364323)

Published 2025-02-07 20:45:02 -03:00 by aleidk

Installation

docker pull git.alecodes.page/alecodes/index@sha256:cfb6b78d728e07ee39d347bc76c4687699eb27bdb909c768f39d951b59364323
sha256:cfb6b78d728e07ee39d347bc76c4687699eb27bdb909c768f39d951b59364323

About this package

Debian is a Linux distribution that's composed entirely of free and open-source software

Image layers

ADD file:5f9954090af042b377ea0d1d184faa64d2e9d4c946b6c3898d52aff47e764056 in /
CMD ["bash"]
LABEL maintainer=peter@linuxcontainers.dev org.opencontainers.image.title=debian-slim org.opencontainers.image.description=Debian is a Linux distribution that's composed entirely of free and open-source software org.opencontainers.image.authors=Peter, peter@linuxcontainers.dev, https://www.linuxcontainers.dev/ org.opencontainers.image.source=https://github.com/linuxcontainers/debian-slim
RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get clean -y && apt-get autoremove -y && apt-get autoclean -y && rm -rf /tmp/* && rm -rf /var/lib/apt/lists/* # buildkit
CMD ["/bin/bash"]
COPY /usr/local/bin/dbmate /usr/local/bin/dbmate # buildkit
COPY /usr/local/bin/sqlpage /usr/local/bin/sqlpage # buildkit
WORKDIR /app
ENV SQLPAGE_WEB_ROOT=/app
ENV SQLPAGE_CONFIGURATION_DIRECTORY=/app/sqlpage
ENV DB_DRIVER=
ENV DB_USER=
ENV DB_NAME=
ENV DB_PASSWORD_FILE=
RUN /bin/sh -c addgroup --gid 1000 --system index_user && adduser --uid 1000 --system --no-create-home --ingroup index_user index_user && mkdir -p /etc/sqlpage && touch /etc/sqlpage/sqlpage.db && chown -R index_user:index_user /etc/sqlpage/sqlpage.db # buildkit
COPY --chown=index_user:index_user ./src /app # buildkit
COPY --chown=index_user:index_user ./docker/entrypoint.sh /usr/bin/entrypoint.sh # buildkit
RUN /bin/sh -c chmod a+x /usr/bin/entrypoint.sh # buildkit
USER index_user
ENTRYPOINT ["/usr/bin/entrypoint.sh"]
CMD ["/bin/sh" "-c" "/usr/local/bin/sqlpage"]

Labels

Key Value
maintainer peter@linuxcontainers.dev
org.opencontainers.image.authors Peter, peter@linuxcontainers.dev, https://www.linuxcontainers.dev/
org.opencontainers.image.description Debian is a Linux distribution that's composed entirely of free and open-source software
org.opencontainers.image.source https://github.com/linuxcontainers/debian-slim
org.opencontainers.image.title debian-slim
org.opencontainers.image.version 12.5
Details
Container
2025-02-07 20:45:02 -03:00
1
OCI / Docker
linux/amd64
Peter, peter@linuxcontainers.dev, https://www.linuxcontainers.dev/
56 MiB
Versions (4) View all