fix: FromAsCasing Dockerfile lint check

This commit is contained in:
Ryan W
2024-10-12 11:55:20 -07:00
parent 32d708b610
commit 448c29e017
+2 -2
View File
@@ -7,7 +7,7 @@
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.3.5
FROM docker.io/library/ruby:$RUBY_VERSION-slim as base
FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
# Rails app lives here
WORKDIR /rails
@@ -24,7 +24,7 @@ ENV RAILS_ENV="production" \
BUNDLE_WITHOUT="development"
# Throw-away build stage to reduce size of final image
FROM base as build
FROM base AS build
# Install packages needed to build gems
RUN apt-get update -qq && \