Skip to content

Commit 0fc9774

Browse files
committed
changed golang images to 1.20-slim
1 parent 1eded54 commit 0fc9774

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

samples/golang-http-form/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Go runtime as a parent image
2-
FROM golang:1.20-alpine as builder
2+
FROM golang:1.20-slim as builder
33

44
# Set the working directory in the builder container
55
WORKDIR /src

samples/golang-mongodb-atlas/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Start from the official Go image.
2-
FROM golang:1.19-alpine as builder
2+
FROM golang:1.20-slim as builder
33

44
# Set the Current Working Directory inside the container
55
WORKDIR /app

samples/golang-openai/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Go runtime as a parent image
2-
FROM golang:1.20-alpine as builder
2+
FROM golang:1.20-slim as builder
33

44
# Set the working directory in the builder container
55
WORKDIR /src

samples/golang-rest-api/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Go runtime as a parent image
2-
FROM golang:1.20-alpine as builder
2+
FROM golang:1.20-slim as builder
33

44
# Set the working directory in the builder container
55
WORKDIR /src

samples/golang-s3/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Go runtime as a parent image
2-
FROM golang:1.20-alpine as builder
2+
FROM golang:1.20-slim as builder
33

44
# Set the working directory in the builder container
55
WORKDIR /src

samples/golang-slackbot/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Use an official Go runtime as a parent image
2-
FROM golang:1.20-alpine as builder
2+
FROM golang:1.20-slim as builder
33

44
# Set the working directory in the builder container
55
WORKDIR /src

0 commit comments

Comments
 (0)