Skip to content

Commit

Permalink
fix(docker): fix case mismatch warnings
Browse files Browse the repository at this point in the history
Latest docker started reporting warnings that the "FROM" and "as"
cases don't match.

Signed-off-by: Sergei Trofimov <[email protected]>
  • Loading branch information
setrofim committed Jul 23, 2024
1 parent 3a6f0af commit 51bc65c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion deployments/docker/src/builder.docker
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# within the project, it must be at least 1.19.
ARG GO_VERSION=1.19

FROM golang:${GO_VERSION} as veraison-builder
FROM golang:${GO_VERSION} AS veraison-builder

# User identity that will be used to build the project. This should be
# overriden at build time to match the host user running the builder, who owns
Expand Down
2 changes: 1 addition & 1 deletion deployments/docker/src/keycloak.docker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM quay.io/keycloak/keycloak:22.0.1 as keycloak-builder
FROM quay.io/keycloak/keycloak:22.0.1 AS keycloak-builder

WORKDIR /opt/keycloak
# note: for development set up early; use proper certification in production.
Expand Down
2 changes: 1 addition & 1 deletion deployments/docker/src/management.docker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Management service container.
# The context for building this image is assumed to be the Veraison deployment
# directory (/tmp/veraison is the default for make build).
FROM debian as veraison-management
FROM debian AS veraison-management

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
Expand Down
2 changes: 1 addition & 1 deletion deployments/docker/src/manager.docker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# VTS service container.
# The context for building this image is assumed to be the Veraison deployment
# directory (/tmp/veraison is the default for make build).
FROM debian as veraison-verification
FROM debian AS veraison-verification

# User identity that will be used to build the project. This should be
# overriden at build time to match the host user running the builder, who owns
Expand Down
2 changes: 1 addition & 1 deletion deployments/docker/src/provisioning.docker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Provisioning service container.
# The context for building this image is assumed to be the Veraison deployment
# directory (/tmp/veraison is the default for make build).
FROM debian as veraison-provisioning
FROM debian AS veraison-provisioning

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
Expand Down
2 changes: 1 addition & 1 deletion deployments/docker/src/verification.docker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Verification service container.
# The context for building this image is assumed to be the Veraison deployment
# directory (/tmp/veraison is the default for make build).
FROM debian as veraison-verification
FROM debian AS veraison-verification

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
Expand Down
2 changes: 1 addition & 1 deletion deployments/docker/src/vts.docker
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# VTS service container.
# The context for building this image is assumed to be the Veraison deployment
# directory (/tmp/veraison is the default for make build).
FROM debian as veraison-vts
FROM debian AS veraison-vts

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install \
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright 2023 Contributors to the Veraison project.
# Copyright 2023-2024 Contributors to the Veraison project.
# SPDX-License-Identifier: Apache-2.0
FROM python as veraison-test
FROM python AS veraison-test

# User identify that will be used to build the project. This should be
# overriden at build time to match the host user running the tester who owns
Expand Down

0 comments on commit 51bc65c

Please sign in to comment.