-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[10.1] docker build
が失敗する
#504
Comments
試しにcommit戻して開発版の方取り込んだら問題なくbuildできることを確認しました(が、この方法でいいのか自信なかったのでPRにはしてません…🙏) # git restore -s c652b0e46b6655366d976e8e18b92c63b734b91b Dockerfile
# git checkout kb_development -- Dockerfile 以下は上記コマンド後の差分です @@ -1,17 +1,21 @@
# syntax=docker/dockerfile:1.4
-FROM ghcr.io/moritzheiber/ruby-jemalloc:3.2.3-slim as ruby
-FROM node:${NODE_VERSION} as build
-
-# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.2.2"]
-ARG RUBY_VERSION="3.2.2"
+# Please see https://docs.docker.com/engine/reference/builder for information about
+# the extended buildx capabilities used in this file.
+# Make sure multiarch TARGETPLATFORM is available for interpolation
+# See: https://docs.docker.com/build/building/multi-platform/
+ARG TARGETPLATFORM=${TARGETPLATFORM}
+ARG BUILDPLATFORM=${BUILDPLATFORM}
+
+# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.2.3"]
+ARG RUBY_VERSION="3.2.3"
# # Node version to use in base image, change with [--build-arg NODE_MAJOR_VERSION="20"]
ARG NODE_MAJOR_VERSION="20"
# Debian image to use for base image, change with [--build-arg DEBIAN_VERSION="bookworm"]
ARG DEBIAN_VERSION="bookworm"
# Node image to use for base image based on combined variables (ex: 20-bookworm-slim)
FROM docker.io/node:${NODE_MAJOR_VERSION}-${DEBIAN_VERSION}-slim as node
-# Ruby image to use for base image based on combined variables (ex: 3.2.2-slim-bookworm)
+# Ruby image to use for base image based on combined variables (ex: 3.2.3-slim-bookworm)
FROM docker.io/ruby:${RUBY_VERSION}-slim-${DEBIAN_VERSION} as ruby
# Resulting version string is vX.X.X-MASTODON_VERSION_PRERELEASE+MASTODON_VERSION_METADATA |
fcb0ebd mastodon@5efb00d 本家に追従する関係上、少なくとも |
言葉足らずで申し訳ありません。 自信がないのはgitの扱いなので、Dockerファイルとしては「4.2.4向けのチェリーピック前に戻し、開発版向けをチェリーピックする」で問題ありません ただ、いずれにせよcomposeファイルにも問題があり(#485)簡単には扱えない状態ではありますので、「11までにfixする」でも良いのではと思います |
チェリーピック先は ですので |
バグの再現手順
git fetch
で全コミット取り込むgit checkout kb10.1
でkb10.1のtagに切り替えdocker build -t kmyblue:kb10.1 .
でimageをbuild期待する動作
buildが成功する
実際の動作
下記のエラーが発生してbuild失敗
詳しい情報
No response
バグが発生したkmyblueサーバーのドメイン
mstdn.yuicho.net
バグが発生したkmyblueのバージョン
10.1
ブラウザの名前
No response
OS
No response
その他の詳細情報
LTSに関しては問題なくbuildできることを確認しました
The text was updated successfully, but these errors were encountered: