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

Change mastodon:setup to not call assets:precompile in docker #13942

Conversation

ClearlyClaire
Copy link
Contributor

Iy appears assets are built during image build, and they shouldn't need
to be rebuilt unless using S3, in which case it needs to be recompiled to
include the configured host.

(I'm not completely sure of all that, someone with more knowledge than me on the Docker setup should check)

@stale
Copy link

stale bot commented Oct 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/wontfix This will not be worked on label Oct 7, 2020
@SuperSandro2000
Copy link
Contributor

@ThibG bump

@stale stale bot removed the status/wontfix This will not be worked on label Oct 7, 2020
@ClearlyClaire
Copy link
Contributor Author

This could be done unconditionally if #14381 gets merged

It appears assets are built during image build, and they shouldn't need
to be rebuilt, since we now have reproducible builds.
@ClearlyClaire ClearlyClaire force-pushed the fixes/docker-mastodon-setup-assets-precompile branch from 890d348 to 3c3ae53 Compare November 16, 2020 13:31
@ClearlyClaire
Copy link
Contributor Author

Rebased and changed it so that it applies even if S3 is enabled, as we now have reproducible builds regardless of S3/CDN config.

@ClearlyClaire ClearlyClaire changed the title Change mastodon:setup to not call assets:precompile in docker if S3 isn't used Change mastodon:setup to not call assets:precompile in docker Nov 16, 2020
Base automatically changed from master to main January 20, 2021 10:31
@Gargron Gargron reopened this Mar 24, 2021
@Gargron Gargron merged commit 8255683 into mastodon:main Mar 24, 2021
chrisguida pushed a commit to Start9Labs/mastodon that referenced this pull request Feb 26, 2022
…on#13942)

It appears assets are built during image build, and they shouldn't need
to be rebuilt, since we now have reproducible builds.
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

Successfully merging this pull request may close these issues.

None yet

3 participants