Skip to content

Commit 857b834

Browse files
authored
Merge pull request #14 from linuxserver/fix_schema_build
Fix build failure with missing schema file
2 parents 3a64008 + cdfc3a5 commit 857b834

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ RUN \
6969
bundle config set --local without 'development test' && \
7070
bundle config force_ruby_platform true && \
7171
bundle install && \
72+
touch db/schema.rb && \
7273
DATABASE_URL="nulldb://user:pass@localhost/db" \
7374
SECRET_KEY_BASE="placeholder" \
7475
bundle exec rake assets:precompile && \
76+
rm db/schema.rb && \
7577
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
7678
echo "**** cleanup ****" && \
7779
yarn cache clean && \

Dockerfile.aarch64

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ RUN \
6969
bundle config set --local without 'development test' && \
7070
bundle config force_ruby_platform true && \
7171
bundle install && \
72+
touch db/schema.rb && \
7273
DATABASE_URL="nulldb://user:pass@localhost/db" \
7374
SECRET_KEY_BASE="placeholder" \
7475
bundle exec rake assets:precompile && \
76+
rm db/schema.rb && \
7577
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
7678
echo "**** cleanup ****" && \
7779
yarn cache clean && \

0 commit comments

Comments
 (0)