Skip to content
Snippets Groups Projects
Unverified Commit 9c599b18 authored by tribut's avatar tribut :man_dancing:
Browse files

Fix warning about casing mismatch between "FROM" and "as"

parent 4b29ada8
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.2.0 ARG RUBY_VERSION=3.2.0
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base
# Rails app lives here # Rails app lives here
WORKDIR /rails WORKDIR /rails
...@@ -15,7 +15,7 @@ ENV RAILS_ENV="production" \ ...@@ -15,7 +15,7 @@ ENV RAILS_ENV="production" \
# Throw-away build stage to reduce size of final image # Throw-away build stage to reduce size of final image
FROM base as build FROM base AS build
# Install packages needed to build gems # Install packages needed to build gems
RUN apt-get update -qq && \ RUN apt-get update -qq && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment