Skip to content

Commit

Permalink
Restore multiarch support
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed Sep 18, 2023
1 parent d118df9 commit 36b592b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ COPY --from=gomplate ["/bin/gomplate", "/usr/bin/gomplate"]

# Final stage
ARG MARIADB_VERSION="10.11.5"
FROM lscr.io/linuxserver/mariadb:${MARIADB_VERSION}
FROM --platform=${TARGETPLATFORM} lscr.io/linuxserver/mariadb:${MARIADB_VERSION}

RUN set -eux \
&& apk add --no-cache openssl
Expand All @@ -28,7 +28,7 @@ EXPOSE 8385/TCP
ARG MARIADB_VERSION
LABEL maintainer="Aleksandar Puharic <[email protected]>" \
org.opencontainers.image.source="https://github.com/N0rthernL1ghts/mariadb" \
org.opencontainers.image.description="MariaDB ${MARIADB_VERSION} - Based on lscr.io/linuxserver/mariadb:${MARIADB_VERSION}" \
org.opencontainers.image.description="MariaDB ${MARIADB_VERSION} (${TARGETPLATFORM}) - Based on lscr.io/linuxserver/mariadb:${MARIADB_VERSION}" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.version="${MARIADB_VERSION}"

Expand Down

0 comments on commit 36b592b

Please sign in to comment.