Skip to content

Commit 5c6c3e1

Browse files
committed
update to Rails 8.0.2: minimal no longer includes Kamal
1 parent 3740274 commit 5c6c3e1

File tree

22 files changed

+65
-194
lines changed

22 files changed

+65
-194
lines changed

test/results/bin_cd/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -74,7 +68,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7468
# Entrypoint prepares the database.
7569
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7670

77-
# Start server via Thruster by default, this can be overwritten at runtime
78-
EXPOSE 80
71+
# Start the server by default, this can be overwritten at runtime
72+
EXPOSE 3000
7973
VOLUME /data
80-
CMD ["./bin/thrust", "./bin/rails", "server"]
74+
CMD ["./bin/rails", "server"]

test/results/ci/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165
# Entrypoint prepares the database.
7266
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7367

74-
# Start server via Thruster by default, this can be overwritten at runtime
75-
EXPOSE 80
68+
# Start the server by default, this can be overwritten at runtime
69+
EXPOSE 3000
7670
VOLUME /data
77-
CMD ["./bin/thrust", "./bin/rails", "server"]
71+
CMD ["./bin/rails", "server"]

test/results/config/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-malloctrim-slim AS base
@@ -72,7 +66,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3" \
7266
# Entrypoint prepares the database.
7367
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7468

75-
# Start server via Thruster by default, this can be overwritten at runtime
76-
EXPOSE 80
69+
# Start the server by default, this can be overwritten at runtime
70+
EXPOSE 3000
7771
VOLUME /data
78-
CMD ["./bin/thrust", "./bin/rails", "server"]
72+
CMD ["./bin/rails", "server"]

test/results/env/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -75,7 +69,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7569
# Entrypoint prepares the database.
7670
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7771

78-
# Start server via Thruster by default, this can be overwritten at runtime
79-
EXPOSE 80
72+
# Start the server by default, this can be overwritten at runtime
73+
EXPOSE 3000
8074
VOLUME /data
81-
CMD ["./bin/thrust", "./bin/rails", "server"]
75+
CMD ["./bin/rails", "server"]

test/results/fullstaq/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-malloctrim-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165
# Entrypoint prepares the database.
7266
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7367

74-
# Start server via Thruster by default, this can be overwritten at runtime
75-
EXPOSE 80
68+
# Start the server by default, this can be overwritten at runtime
69+
EXPOSE 3000
7670
VOLUME /data
77-
CMD ["./bin/thrust", "./bin/rails", "server"]
71+
CMD ["./bin/rails", "server"]

test/results/grover/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -92,7 +86,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3" \
9286
# Entrypoint prepares the database.
9387
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
9488

95-
# Start server via Thruster by default, this can be overwritten at runtime
96-
EXPOSE 80
89+
# Start the server by default, this can be overwritten at runtime
90+
EXPOSE 3000
9791
VOLUME /data
98-
CMD ["./bin/thrust", "./bin/rails", "server"]
92+
CMD ["./bin/rails", "server"]

test/results/idle/Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -109,7 +103,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
109103
# Entrypoint prepares the database.
110104
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
111105

112-
# Start server via Thruster by default, this can be overwritten at runtime
113-
EXPOSE 80
106+
# Start the server by default, this can be overwritten at runtime
107+
EXPOSE 3000
114108
VOLUME /data
115109
CMD ["nginx"]

test/results/jemalloc/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165
# Entrypoint prepares the database.
7266
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7367

74-
# Start server via Thruster by default, this can be overwritten at runtime
75-
EXPOSE 80
68+
# Start the server by default, this can be overwritten at runtime
69+
EXPOSE 3000
7670
VOLUME /data
77-
CMD ["./bin/thrust", "./bin/rails", "server"]
71+
CMD ["./bin/rails", "server"]

test/results/label/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -73,7 +67,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7367
# Entrypoint prepares the database.
7468
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7569

76-
# Start server via Thruster by default, this can be overwritten at runtime
77-
EXPOSE 80
70+
# Start the server by default, this can be overwritten at runtime
71+
EXPOSE 3000
7872
VOLUME /data
79-
CMD ["./bin/thrust", "./bin/rails", "server"]
73+
CMD ["./bin/rails", "server"]

test/results/minimal/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
# syntax=docker/dockerfile:1
22
# check=error=true
33

4-
# This Dockerfile is designed for production, not development. Use with Kamal or build'n'run by hand:
5-
# docker build -t demo .
6-
# docker run -d -p 80:80 -e RAILS_MASTER_KEY=<value from config/master.key> --name demo demo
7-
8-
# For a containerized dev environment, see Dev Containers: https://guides.rubyonrails.org/getting_started_with_devcontainer.html
9-
104
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
115
ARG RUBY_VERSION=xxx
126
FROM ruby:$RUBY_VERSION-slim AS base
@@ -71,7 +65,7 @@ ENV DATABASE_URL="sqlite3:///data/production.sqlite3"
7165
# Entrypoint prepares the database.
7266
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
7367

74-
# Start server via Thruster by default, this can be overwritten at runtime
75-
EXPOSE 80
68+
# Start the server by default, this can be overwritten at runtime
69+
EXPOSE 3000
7670
VOLUME /data
77-
CMD ["./bin/thrust", "./bin/rails", "server"]
71+
CMD ["./bin/rails", "server"]

0 commit comments

Comments
 (0)