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

speed up docker build #85

Closed
x1wins opened this issue Apr 22, 2022 · 0 comments · Fixed by #86
Closed

speed up docker build #85

x1wins opened this issue Apr 22, 2022 · 0 comments · Fixed by #86
Assignees
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request

Comments

@x1wins
Copy link
Owner

x1wins commented Apr 22, 2022

https://dev.to/reiz/how-to-speed-up-your-daily-docker-builds-pkp
https://fe-developers.kakaoent.com/2022/220414-docker-cache/?fbclid=IwAR0W1LKPEq3bjXV6f_Fpl1P9uw8DxT0NY9VBr0Df6YWzUkochzkyaT20eaE

Dockerfile

  • before
RUN gem update --system
RUN bundle check || bundle install --jobs 4
RUN yarn install --check-files
  • after
RUN gem update --system \
    && bundle check || bundle install --jobs 4 \
    && yarn install --check-files
@x1wins x1wins self-assigned this Apr 22, 2022
@x1wins x1wins added enhancement New feature or request dependencies Pull requests that update a dependency file labels Apr 22, 2022
@x1wins x1wins linked a pull request Apr 22, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant