Add more labels
This commit is contained in:
parent
524b88e1b0
commit
cf2744a175
8 changed files with 29 additions and 9 deletions
|
|
@ -1,6 +1,8 @@
|
|||
FROM benzine/php:cli-8.0
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
|
||||
COPY self-signed-certificates /certs
|
||||
|
||||
# Install nginx, certbot
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
FROM mariadb:10.6
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
|
||||
# Copy healthcheck file.
|
||||
COPY health.sh /usr/bin/healthcheck
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
FROM ubuntu:bionic
|
||||
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
|
||||
ENV DEBIAN_FRONTEND="teletype" \
|
||||
TERM=xterm-256color \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
FROM octoprint/octoprint AS octoprint
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
|
||||
RUN apt-get update -q && \
|
||||
apt-get install --no-install-recommends -yq \
|
||||
cpulimit \
|
||||
|
|
@ -20,5 +24,9 @@ RUN curl -s -L https://github.com/pranjalv123/mjpg-streamer-yu12/archive/refs/he
|
|||
make
|
||||
|
||||
FROM matthewbaggett/octoprint AS octoprint-mjpg-streamer
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
|
||||
COPY --from=builder /build/mjpg-streamer-yu12-master/mjpg-streamer/mjpg_streamer /usr/local/bin/mjpg_streamer
|
||||
COPY --from=builder /build/mjpg-streamer-yu12-master/mjpg-streamer/*.so /usr/local/lib/mjpg-streamer/
|
||||
|
|
@ -1,7 +1,8 @@
|
|||
# hadolint ignore=DL3007
|
||||
FROM benzine/marshall:latest AS php-core
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
ARG PHP_PACKAGES
|
||||
COPY core/install-report.sh /usr/bin/install-report
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@ ARG PHP_CORE_VERSION
|
|||
# hadolint ignore=DL3024
|
||||
FROM ${PHP_CORE_VERSION} AS php-cli
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
|
||||
|
||||
# Install a funky cool repl.
|
||||
RUN composer global require -q psy/psysh:@stable && \
|
||||
|
|
@ -15,7 +17,8 @@ COPY cli/psysh-config.php /root/.config/psysh/config.php
|
|||
ARG PHP_CORE_VERSION
|
||||
FROM ${PHP_CORE_VERSION} AS php-nginx
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
ARG PHP_VERSION
|
||||
ARG PHP_MEMORY_LIMIT=128M
|
||||
ARG PHP_DATA_MAX_SIZE=1024M
|
||||
|
|
@ -131,7 +134,8 @@ HEALTHCHECK --interval=30s --timeout=3s \
|
|||
ARG PHP_CORE_VERSION
|
||||
FROM ${PHP_CORE_VERSION} AS php-apache
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
ARG PHP_VERSION
|
||||
RUN apt-get -qq update && \
|
||||
apt-get -yqq install --no-install-recommends \
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
# hadolint ignore=DL3007
|
||||
FROM redis:latest
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
# Add healthcheck
|
||||
HEALTHCHECK --interval=30s --timeout=3s \
|
||||
CMD redis-cli PING
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
FROM benzine/php:nginx
|
||||
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker"
|
||||
org.label-schema.vcs-url="https://github.com/benzine-framework/docker" \
|
||||
org.opencontainers.image.source="https://github.com/benzine-framework/docker"
|
||||
|
||||
COPY nginx.runit /etc/service/nginx/run
|
||||
RUN wget -O /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
|
||||
chmod +x /etc/service/nginx/run \
|
||||
|
|
|
|||
Loading…
Reference in a new issue