mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-29 02:22:28 +00:00
Fix multibuild
This commit is contained in:
parent
c556b8acef
commit
aa15052eea
@ -25,6 +25,7 @@ COPY scripts /scripts
|
|||||||
COPY backend /app
|
COPY backend /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
ARG ARG TARGETPLATFORM
|
||||||
RUN mkdir -p /dist \
|
RUN mkdir -p /dist \
|
||||||
&& /scripts/go-multiarch-wrapper /dist/server /dist/ipranges
|
&& /scripts/go-multiarch-wrapper /dist/server /dist/ipranges
|
||||||
|
|
||||||
@ -61,6 +62,7 @@ RUN apt-get update \
|
|||||||
&& rm -rf /var/lib/apt/lists/* /etc/fail2ban
|
&& rm -rf /var/lib/apt/lists/* /etc/fail2ban
|
||||||
|
|
||||||
# s6 overlay
|
# s6 overlay
|
||||||
|
ARG TARGETPLATFORM
|
||||||
COPY scripts/install-s6 /tmp/install-s6
|
COPY scripts/install-s6 /tmp/install-s6
|
||||||
RUN /tmp/install-s6 "${TARGETPLATFORM}" && rm -rf /tmp/*
|
RUN /tmp/install-s6 "${TARGETPLATFORM}" && rm -rf /tmp/*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user