From 4ba46ccf08e525ba5183273d84da0fdec40de42b Mon Sep 17 00:00:00 2001 From: sid palas Date: Wed, 22 Mar 2023 12:38:50 -0400 Subject: [PATCH] remove erroneous base image tag, fix stage name --- 06-building-container-images/api-golang/Dockerfile.1 | 2 +- 06-building-container-images/api-golang/Dockerfile.2 | 2 +- 06-building-container-images/api-golang/Dockerfile.3 | 2 +- 06-building-container-images/api-golang/Dockerfile.4 | 2 +- 06-building-container-images/api-golang/Dockerfile.5 | 2 +- 06-building-container-images/api-golang/Dockerfile.6 | 2 +- 06-building-container-images/api-golang/Dockerfile.7 | 2 +- 06-building-container-images/api-golang/Dockerfile.8 | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/06-building-container-images/api-golang/Dockerfile.1 b/06-building-container-images/api-golang/Dockerfile.1 index 9125e3d..01a5413 100644 --- a/06-building-container-images/api-golang/Dockerfile.1 +++ b/06-building-container-images/api-golang/Dockerfile.1 @@ -1,6 +1,6 @@ # Pin specific version for stability # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build WORKDIR /app diff --git a/06-building-container-images/api-golang/Dockerfile.2 b/06-building-container-images/api-golang/Dockerfile.2 index 8aa31fe..7ec7dd7 100644 --- a/06-building-container-images/api-golang/Dockerfile.2 +++ b/06-building-container-images/api-golang/Dockerfile.2 @@ -1,6 +1,6 @@ # Pin specific version for stability # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build WORKDIR /app diff --git a/06-building-container-images/api-golang/Dockerfile.3 b/06-building-container-images/api-golang/Dockerfile.3 index 968e524..2f1960e 100644 --- a/06-building-container-images/api-golang/Dockerfile.3 +++ b/06-building-container-images/api-golang/Dockerfile.3 @@ -1,6 +1,6 @@ # Pin specific version for stability # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build WORKDIR /app diff --git a/06-building-container-images/api-golang/Dockerfile.4 b/06-building-container-images/api-golang/Dockerfile.4 index f88c53a..adb295c 100644 --- a/06-building-container-images/api-golang/Dockerfile.4 +++ b/06-building-container-images/api-golang/Dockerfile.4 @@ -1,7 +1,7 @@ # Pin specific version for stability # Use separate stage for building image # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build WORKDIR /app diff --git a/06-building-container-images/api-golang/Dockerfile.5 b/06-building-container-images/api-golang/Dockerfile.5 index 8beefc7..24654ac 100644 --- a/06-building-container-images/api-golang/Dockerfile.5 +++ b/06-building-container-images/api-golang/Dockerfile.5 @@ -1,7 +1,7 @@ # Pin specific version for stability # Use separate stage for building image # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build WORKDIR /app diff --git a/06-building-container-images/api-golang/Dockerfile.6 b/06-building-container-images/api-golang/Dockerfile.6 index 02488e6..dd66d10 100644 --- a/06-building-container-images/api-golang/Dockerfile.6 +++ b/06-building-container-images/api-golang/Dockerfile.6 @@ -1,7 +1,7 @@ # Pin specific version for stability # Use separate stage for building image # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build # Add non root user RUN useradd -u 1001 nonroot diff --git a/06-building-container-images/api-golang/Dockerfile.7 b/06-building-container-images/api-golang/Dockerfile.7 index 5ef3c35..5c00a6f 100644 --- a/06-building-container-images/api-golang/Dockerfile.7 +++ b/06-building-container-images/api-golang/Dockerfile.7 @@ -1,7 +1,7 @@ # Pin specific version for stability # Use separate stage for building image # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build # Add non root user RUN useradd -u 1001 nonroot diff --git a/06-building-container-images/api-golang/Dockerfile.8 b/06-building-container-images/api-golang/Dockerfile.8 index fb62ffa..d2b3d2c 100644 --- a/06-building-container-images/api-golang/Dockerfile.8 +++ b/06-building-container-images/api-golang/Dockerfile.8 @@ -1,7 +1,7 @@ # Pin specific version for stability # Use separate stage for building image # Use debian for easier build utilities -FROM golang:1.19-bullseye-slim AS build +FROM golang:1.19-bullseye AS build-base WORKDIR /app