From 448c29e017f31a0237cbd3a83c9d7f160ea26f9f Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sat, 12 Oct 2024 11:55:20 -0700 Subject: [PATCH] fix: FromAsCasing Dockerfile lint check --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9b98c38..2efe596 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \