mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-12-26 00:30:46 +08:00
parent
17b35a45db
commit
c671018798
17 changed files with 23 additions and 4 deletions
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
* text=auto
|
|
@ -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; \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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; \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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; \
|
||||||
|
|
|
@ -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 \
|
||||||
; \
|
; \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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; \
|
||||||
|
|
|
@ -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; \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue