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

Commit

Permalink
Match casing of 'as' and 'FROM' in Dockerfile (#295)
Browse files Browse the repository at this point in the history
Gets rid of warning:
```
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line xx)
```
  • Loading branch information
dyackzan authored Jun 27, 2024
1 parent a07e5b3 commit f3b2b42
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit f3b2b42

Please sign in to comment.