1
0

🏗️」 wip: Removed ftp server and started borgbackup container

This commit is contained in:
2025-03-03 15:18:16 +01:00
parent 2673f6ef0b
commit 25ec0ebb31
9 changed files with 228 additions and 175 deletions

View File

@ -25,16 +25,9 @@ RUN addgroup mysql \
COPY --from=builder /build/entrypoint /docker-entrypoint
COPY --from=builder /build/healthcheck /docker-healthcheck
RUN mkdir /build
COPY go.mod /build/go.mod
COPY cmd /build/cmd
COPY internal /build/internal
RUN apk add --no-cache go mariadb tzdata mariadb-client \
RUN apk add --no-cache mariadb tzdata mariadb-client \
&& chmod +x /docker-healthcheck \
&& chmod +x /docker-entrypoint \
&& apk del go \
&& mkdir -p /etc/mysql/conf.d /etc/mysql/mariadb.conf.d/ /run/mariadb /run/mysqld \
&& chmod ugo+rwx,o+t /run/mariadb \
&& chown -R mysql:mysql /var/lib/mysql /run/mariadb /run/mysqld \