Skip to content

Commit b94d8a7

Browse files
authored
Merge pull request #3042 from gofiber/remove-hashes
🧹 chore: Cleanup Docker images
2 parents 1d15b7e + 404c22d commit b94d8a7

File tree

12 files changed

+11
-18
lines changed

12 files changed

+11
-18
lines changed

auth-docker-postgres-jwt/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24@sha256:d9db32125db0c3a680cfb7a1afcaefb89c898a075ec148fdc2f0f646cc2ed509
1+
FROM golang:1.24
22

33
# Enviroment variable
44
WORKDIR /usr/src/some-api

auth-docker-postgres-jwt/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3.8'
21
services:
32
web:
43
build: .

clean-code/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ services:
1515

1616
example_db:
1717
container_name: example_db
18-
image: postgres:17.1-alpine
18+
image: postgres:17-alpine
1919
environment:
2020
- POSTGRES_DB=example
2121
- POSTGRES_USER=postgres

colly-gorm/docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3.8'
21
services:
32
scraper_app:
43
container_name: scraper_app
@@ -15,7 +14,7 @@ services:
1514
- colly_db
1615

1716
colly_db:
18-
image: postgres:14.1-alpine
17+
image: postgres:14-alpine
1918
container_name: colly_db
2019
ports:
2120
- 5435:5432

docker-mariadb-clean-arch/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Get Go image from DockerHub.
2-
FROM golang:1.24@sha256:d9db32125db0c3a680cfb7a1afcaefb89c898a075ec148fdc2f0f646cc2ed509 AS api
2+
FROM golang:1.24 AS api
33

44
# Set working directory.
55
WORKDIR /compiler

docker-nginx-loadbalancer/docker-compose.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
version: '3.3'
2-
3-
#services describe the containers that will start
41
services:
52
# api is the container name for our Go API
63
api:
@@ -19,8 +16,8 @@ services:
1916
replicas: 5
2017
# nginx container
2118
nginx:
22-
# specifies the latest stable alpine nginx image
23-
image: nginx:stable-alpine
19+
# specifies the latest stable nginx image
20+
image: nginx:stable
2421
# Connects the conf file of the container to the conf file in our folder
2522
volumes:
2623
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro

envoy-extauthz/docker-compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
version: "3.7"
21
services:
3-
42
fiber_app:
53
build:
64
context: ./app

gcloud-firebase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the offical Golang image to create a build artifact.
22
# This is based on Debian and sets the GOPATH to /go.
33
# https://hub.docker.com/_/golang
4-
FROM golang:1.24@sha256:d9db32125db0c3a680cfb7a1afcaefb89c898a075ec148fdc2f0f646cc2ed509 as builder
4+
FROM golang:1.24 as builder
55

66
# Copy local code to the container image.
77
WORKDIR /go/app

gcloud/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Use the offical Golang image to create a build artifact.
22
# This is based on Debian and sets the GOPATH to /go.
33
# https://hub.docker.com/_/golang
4-
FROM golang:1.24@sha256:d9db32125db0c3a680cfb7a1afcaefb89c898a075ec148fdc2f0f646cc2ed509 as builder
4+
FROM golang:1.24 as builder
55

66
# Copy local code to the container image.
77
WORKDIR /go/app

k8s/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func main() {
8989
Here is an example `Dockerfile` for the application:
9090

9191
```Dockerfile
92-
FROM golang:1.20-alpine
92+
FROM golang:1.24
9393
9494
WORKDIR /app
9595

0 commit comments

Comments
 (0)