Skip to content
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

syntax = docker/dockerfile:1.8 を使うとコンテナイメージビルド内のassets:precompileが失敗する #2357

Open
takaishi opened this issue Jun 22, 2024 · 0 comments

Comments

@takaishi
Copy link
Contributor

takaishi commented Jun 22, 2024

GHA Workflowでのみ発生。手元だと再現できていない。1.7に戻すと成功する。

 > [asset-compile 16/16] RUN --mount=type=cache,uid=1000,target=/app/tmp/cache SECRET_KEY_BASE=hoge RAILS_ENV=production DB_ADAPTER=nulldb bin/rails assets:precompile:
46.73     ERROR in ./app/javascript/stylesheets/cndt2023.scss (./node_modules/css-loader/dist/cjs.js??ref--6-1!./node_modules/postcss-loader/src??ref--6-2!./node_modules/sass-loader/dist/cjs.js??ref--6-3!./app/javascript/stylesheets/cndt2023.scss)
46.73     Module build failed (from ./node_modules/postcss-loader/src/index.js):
46.73     Error: No PostCSS Config found in: /app
46.73         at /app/node_modules/postcss-load-config/src/index.js:91:15
46.73 
46.73 
46.73 Browserslist: caniuse-lite is outdated. Please run:
46.73   npx browserslist@latest --update-db
46.73   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
46.73 
------

https://github.com/cloudnativedaysjp/dreamkast/actions/runs/9581729979

@takaishi takaishi changed the title syntax = docker/dockerfile:1.8 wo syntax = docker/dockerfile:1.8 を使うとコンテナイメージビルド内のassets:precompileが失敗する Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant