Skip to content

Commit a09e9b3

Browse files
authored
fix(security): alpine image vulnerabilities (#28)
Signed-off-by: Manuel Morejon <manuel@mmorejon.io>
1 parent 132a530 commit a09e9b3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

bookings/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o
1515

1616

1717
# build a small image
18-
FROM alpine:3.17.0
18+
FROM alpine:3.17.3
1919
LABEL language="golang"
2020
LABEL org.opencontainers.image.source https://github.com/mmorejon/microservices-docker-go-mongodb
2121
# import the user and group files from the builder

movies/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o
1515

1616

1717
# build a small image
18-
FROM alpine:3.17.0
18+
FROM alpine:3.17.3
1919
LABEL language="golang"
2020
LABEL org.opencontainers.image.source https://github.com/mmorejon/microservices-docker-go-mongodb
2121
# import the user and group files from the builder

showtimes/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o
1515

1616

1717
# build a small image
18-
FROM alpine:3.17.0
18+
FROM alpine:3.17.3
1919
LABEL language="golang"
2020
LABEL org.opencontainers.image.source https://github.com/mmorejon/microservices-docker-go-mongodb
2121
# import the user and group files from the builder

users/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o
1515

1616

1717
# build a small image
18-
FROM alpine:3.17.0
18+
FROM alpine:3.17.3
1919
LABEL language="golang"
2020
LABEL org.opencontainers.image.source https://github.com/mmorejon/microservices-docker-go-mongodb
2121
# import the user and group files from the builder

website/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -a -installsuffix cgo -o
1515

1616

1717
# build a small image
18-
FROM alpine:3.17.0
18+
FROM alpine:3.17.3
1919
LABEL language="golang"
2020
LABEL org.opencontainers.image.source https://github.com/mmorejon/microservices-docker-go-mongodb
2121
# import the user and group files from the builder

0 commit comments

Comments
 (0)