Skip to content

Commit 9a8153c

Browse files
authored
Merge pull request rails#52460 from igor-alexandrov/docker-check
Generate errors when running a Docker build with warnings
2 parents a8d8dd1 + 0e44b95 commit 9a8153c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

railties/lib/rails/generators/rails/app/templates/Dockerfile.tt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# syntax = docker/dockerfile:1
1+
# syntax=docker/dockerfile:1
2+
# check=error=true
23

34
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
45
# docker build -t my-app .

0 commit comments

Comments
 (0)