Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2024-04-17 17:52:42 +02:00
parent 17b35a45db
commit c671018798
No known key found for this signature in database
GPG key ID: 02A3919EB4F67328
17 changed files with 23 additions and 4 deletions

1
.gitattributes vendored Normal file
View file

@ -0,0 +1 @@
* text=auto

View file

@ -14,6 +14,7 @@ COPY --chmod=775 healthcheck.sh /healthcheck.sh
VOLUME /mnt/data VOLUME /mnt/data
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache shadow; \ apk add --no-cache shadow; \
groupmod -g 333 xfs; \ groupmod -g 333 xfs; \
usermod -u 333 -g 333 xfs; \ usermod -u 333 -g 333 xfs; \

View file

@ -3,6 +3,7 @@ FROM alpine:3.19.1
RUN set -ex; \ RUN set -ex; \
\ \
apk upgrade --no-cache -a; \
apk add --no-cache \ apk add --no-cache \
util-linux-misc \ util-linux-misc \
bash \ bash \

View file

@ -5,6 +5,7 @@ FROM clamav/clamav:1.3.0-47
COPY clamav.conf /tmp/clamav.conf COPY clamav.conf /tmp/clamav.conf
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache tzdata; \ apk add --no-cache tzdata; \
cat /tmp/clamav.conf >> /etc/clamav/clamd.conf; \ cat /tmp/clamav.conf >> /etc/clamav/clamd.conf; \
rm /tmp/clamav.conf; \ rm /tmp/clamav.conf; \

View file

@ -3,12 +3,13 @@
FROM collabora/code:23.05.10.1.1 FROM collabora/code:23.05.10.1.1
USER root USER root
ARG DEBIAN_FRONTEND noninteractive
# hadolint ignore=DL3008 # hadolint ignore=DL3008
RUN set -ex; \ RUN set -ex; \
\ \
apt-get update; \ apt-get update; \
export DEBIAN_FRONTEND=noninteractive; \ apt-get upgrade -y; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
tzdata \ tzdata \
netcat-openbsd \ netcat-openbsd \

View file

@ -5,6 +5,7 @@ FROM haproxy:2.9.7-alpine3.19
USER root USER root
ENV NEXTCLOUD_HOST nextcloud-aio-nextcloud ENV NEXTCLOUD_HOST nextcloud-aio-nextcloud
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \ apk add --no-cache \
ca-certificates \ ca-certificates \
tzdata \ tzdata \

View file

@ -1,6 +1,7 @@
# syntax=docker/dockerfile:latest # syntax=docker/dockerfile:latest
FROM alpine:3.19.1 FROM alpine:3.19.1
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache bash lighttpd netcat-openbsd; \ apk add --no-cache bash lighttpd netcat-openbsd; \
adduser -S www-data -G www-data; \ adduser -S www-data -G www-data; \
rm -rf /etc/lighttpd/lighttpd.conf; \ rm -rf /etc/lighttpd/lighttpd.conf; \

View file

@ -4,11 +4,13 @@ FROM elasticsearch:8.13.0
USER root USER root
ARG DEBIAN_FRONTEND noninteractive
# hadolint ignore=DL3008 # hadolint ignore=DL3008
RUN set -ex; \ RUN set -ex; \
\ \
export DEBIAN_FRONTEND=noninteractive; \
apt-get update; \ apt-get update; \
apt-get upgrade -y; \
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
tzdata \ tzdata \
; \ ; \

View file

@ -15,6 +15,7 @@ RUN set -ex; \
FROM alpine:3.18.6 FROM alpine:3.18.6
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \ apk add --no-cache \
tzdata \ tzdata \
ca-certificates \ ca-certificates \

View file

@ -19,6 +19,7 @@ WORKDIR /var/www/docker-aio
# hadolint ignore=SC2086,DL3047,DL3003,DL3004 # hadolint ignore=SC2086,DL3047,DL3003,DL3004
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache shadow; \ apk add --no-cache shadow; \
groupmod -g 333 xfs; \ groupmod -g 333 xfs; \
usermod -u 333 -g 333 xfs; \ usermod -u 333 -g 333 xfs; \

View file

@ -23,6 +23,7 @@ VOLUME /var/www/html
# Custom: change id of www-data user as it needs to be the same like on old installations # Custom: change id of www-data user as it needs to be the same like on old installations
# hadolint ignore=SC2086,DL3003 # hadolint ignore=SC2086,DL3003
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache shadow; \ apk add --no-cache shadow; \
deluser www-data; \ deluser www-data; \
groupmod -g 333 xfs; \ groupmod -g 333 xfs; \

View file

@ -5,6 +5,7 @@ COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh COPY --chmod=775 healthcheck.sh /healthcheck.sh
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \ apk add --no-cache \
ca-certificates \ ca-certificates \
netcat-openbsd \ netcat-openbsd \

View file

@ -7,6 +7,7 @@ COPY --chmod=775 healthcheck.sh /healthcheck.sh
COPY --chmod=775 init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh COPY --chmod=775 init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \ apk add --no-cache \
bash \ bash \
openssl \ openssl \

View file

@ -5,6 +5,7 @@ FROM redis:7.2.4-alpine
COPY --chmod=775 start.sh /start.sh COPY --chmod=775 start.sh /start.sh
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache openssl bash; \ apk add --no-cache openssl bash; \
\ \
# Give root a random password # Give root a random password

View file

@ -10,6 +10,7 @@ ENV SKIP_VERIFY false
ENV HPB_PATH /standalone-signaling/ ENV HPB_PATH /standalone-signaling/
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \ apk add --no-cache \
ca-certificates \ ca-certificates \
tzdata \ tzdata \

View file

@ -46,6 +46,7 @@ COPY --chmod=775 healthcheck.sh /healthcheck.sh
COPY --chmod=664 supervisord.conf /supervisord.conf COPY --chmod=664 supervisord.conf /supervisord.conf
RUN set -ex; \ RUN set -ex; \
apk upgrade --no-cache -a; \
apk add --no-cache \ apk add --no-cache \
ca-certificates \ ca-certificates \
tzdata \ tzdata \

View file

@ -4,7 +4,9 @@ FROM containrrr/watchtower:1.7.1 as watchtower
FROM alpine:3.19.1 FROM alpine:3.19.1
RUN apk add --no-cache bash RUN apk upgrade --no-cache -a; \
apk add --no-cache bash
COPY --from=watchtower /watchtower /watchtower COPY --from=watchtower /watchtower /watchtower
COPY --chmod=775 start.sh /start.sh COPY --chmod=775 start.sh /start.sh