Skip to content

Commit a108258

Browse files
igor-alexandrovjoelhawksley
authored andcommitted
Added declaration to generate errors when running a Docker build with warnings.
1 parent 929c60f commit a108258

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)