From 64cb6e2a7a123837cd2a878f10872d9f7ca3bbd5 Mon Sep 17 00:00:00 2001 From: s83 Date: Sat, 1 Feb 2025 11:19:50 +0100 Subject: [PATCH] update pg --- .github/workflows/main.yml | 2 +- Dockerfile | 18 +++--------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2783b2e..92dd985 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: jobs: docker: - runs-on: ubuntu-latest + runs-on: linux steps: - name: Checkout uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index 82e1d0a..fc55ab3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # Stage 1: Build the binary -FROM golang:1.22.5-alpine AS brudi_builder +FROM golang:1.23.5-alpine3.21 AS brudi_builder # Set necessary environment variables needed for our image ENV GO111MODULE=on \ @@ -22,20 +22,8 @@ RUN go mod download # Build the Go app for the current architecture RUN go build -o brudi -# # Stage 2: Create the final image -# FROM alpine:latest - -# # Set the Current Working Directory inside the container -# WORKDIR /app - -# # Copy the pre-built binary from the builder stage -# COPY --from=builder /build/brudi . - -# # Command to run the binary -# CMD ["./brudi"] - - -FROM postgres:17.2-alpine +# Stage 2: Create the final image +FROM postgres:17.2-alpine3.19 LABEL maintainer="s83 "