Skip to content

Commit

Permalink
ci: use latest golang base image in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang01 authored Dec 4, 2024
1 parent 8d7754b commit b34532e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Use the official Go image for building the Go application
# Step 1: Build stage
FROM --platform=${BUILDPLATFORM} golang:1.23.2 AS builder
FROM --platform=${BUILDPLATFORM} golang:latest AS builder

# Set environment variables for cross-compilation
ARG TARGETOS
Expand Down Expand Up @@ -114,4 +114,4 @@ EXPOSE 3306
EXPOSE 5432

# Set the default command to run the Go server
ENTRYPOINT /home/admin/entrypoint.sh
ENTRYPOINT /home/admin/entrypoint.sh

0 comments on commit b34532e

Please sign in to comment.