Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Match casing of 'as' and 'FROM' in Dockerfile #295

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ARG USER_GID=1000
##################################################
# The image tag is specified in the argument itself.
# hadolint ignore=DL3006
FROM ${MOVEIT_STUDIO_BASE_IMAGE} as base
FROM ${MOVEIT_STUDIO_BASE_IMAGE} AS base

# Create a non-root user
ARG USERNAME
Expand Down Expand Up @@ -77,7 +77,7 @@ USER root
###################################################################
# Target for the developer build which does not compile any code. #
###################################################################
FROM base as user-overlay-dev
FROM base AS user-overlay-dev

ARG USERNAME
ARG USER_WS=/home/${USERNAME}/user_ws
Expand All @@ -99,7 +99,7 @@ CMD ["/usr/bin/bash"]
#########################################
# Target for compiled, deployable image #
#########################################
FROM base as user-overlay
FROM base AS user-overlay

ARG USERNAME
ARG USER_WS=/home/${USERNAME}/user_ws
Expand Down
Loading