-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix FromAsCasing warnings in Dockerfile
Warning was: FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ruby:3.3.4-bullseye as develop | ||
FROM ruby:3.3.4-bullseye AS develop | ||
MAINTAINER [email protected] | ||
|
||
ARG DEV_UID=1000 | ||
|
@@ -67,7 +67,7 @@ RUN gem install bundler --version "${BUNDLER_VERSION}" --no-document | |
|
||
####### Testing image below ######### | ||
|
||
FROM develop as test | ||
FROM develop AS test | ||
|
||
USER root | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ARG RUBY_VERSION="3.3.4" | ||
FROM ruby:${RUBY_VERSION}-bookworm as base | ||
FROM ruby:${RUBY_VERSION}-bookworm AS base | ||
LABEL maintainer="[email protected]" | ||
|
||
ARG BUNDLER_VERSION="2.5.13" | ||
|
@@ -80,7 +80,7 @@ RUN cp Gemfile.lock.bak Gemfile.lock && rm Gemfile.lock.bak && \ | |
# ------------------------------------- | ||
# slim (public) | ||
# ------------------------------------- | ||
FROM base as slim | ||
FROM base AS slim | ||
|
||
USER $APP_USER | ||
EXPOSE 8080 | ||
|
@@ -91,7 +91,7 @@ VOLUME ["$APP_DATA_PATH"] | |
# ------------------------------------- | ||
# all-in-one (public) | ||
# ------------------------------------- | ||
FROM base as all-in-one | ||
FROM base AS all-in-one | ||
|
||
ENV OPENPROJECT_RAILS__CACHE__STORE=memcache | ||
ENV DATABASE_URL=postgres://openproject:[email protected]/openproject | ||
|