From e1f5bb67dd72dbe3fd88f601c5720a3ee731b24b Mon Sep 17 00:00:00 2001 From: s83 Date: Sat, 6 Jul 2024 11:42:26 +0200 Subject: [PATCH] update dockerfile --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca1b155..a3ce543 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,15 @@ -# Add build-base package for compiling source code -RUN apk add --no-cache --upgrade build-base +# # Add build-base package for compiling source code +# RUN apk add --no-cache --upgrade build-base -# Clone the brudi source code from GitHub -RUN git clone https://github.com/mittwald/brudi.git /tmp/brudi +# # Clone the brudi source code from GitHub +# RUN git clone https://github.com/mittwald/brudi.git /tmp/brudi -# Build brudi from source for arm architecture -WORKDIR /tmp/brudi -RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o /usr/local/bin/brudi +# # Build brudi from source for arm architecture +# WORKDIR /tmp/brudi +# RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -o /usr/local/bin/brudi -# Clean up the temporary directory -RUN rm -rf /tmp/brudi +# # Clean up the temporary directory +# RUN rm -rf /tmp/brudi FROM postgres:16.2-alpine3.19