File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/rails/generators/rails/app/templates Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
10
10
ARG RUBY_VERSION=<%= gem_ruby_version %>
11
- FROM docker.io/library/ruby:$RUBY_VERSION-slim as base
11
+ FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
12
12
13
13
# Rails app lives here
14
14
WORKDIR /rails
@@ -25,7 +25,7 @@ ENV RAILS_ENV="production" \
25
25
BUNDLE_WITHOUT="development"
26
26
27
27
# Throw-away build stage to reduce size of final image
28
- FROM base as build
28
+ FROM base AS build
29
29
30
30
# Install packages needed to build gems<%= using_node? ? " and node modules" : "" %>
31
31
RUN apt-get update -qq && \
Original file line number Diff line number Diff line change 2
2
3
3
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
4
4
ARG RUBY_VERSION=3.2.2
5
- FROM docker.io/library/ruby:$RUBY_VERSION-slim as base
5
+ FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
6
6
7
7
# Rails app lives here
8
8
WORKDIR /rails
@@ -18,7 +18,7 @@ ENV RAILS_ENV="production" \
18
18
BUNDLE_WITHOUT="development"
19
19
20
20
# Throw-away build stage to reduce size of final image
21
- FROM base as build
21
+ FROM base AS build
22
22
23
23
# Install packages needed to build gems
24
24
RUN apt-get install --no-install-recommends -y build-essential git pkg-config
You can’t perform that action at this time.
0 commit comments