add arm build support

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-01-19 18:15:32 +01:00
parent dee61c2633
commit 504e7cc6e6
3 changed files with 144 additions and 51 deletions

View File

@@ -12,8 +12,9 @@ RUN groupadd -g 1000 appuser && \
# set working directory
WORKDIR /app
# copy the binary from build context
COPY build/phishingclub /app/phishingclub
# copy the binary from build context based on target architecture
ARG TARGETARCH
COPY build/${TARGETARCH}/phishingclub /app/phishingclub
# make binary executable and set ownership
RUN chmod +x /app/phishingclub && \