-
-
Notifications
You must be signed in to change notification settings - Fork 7
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 slow docker build #503
Labels
Comments
아직도 느림! |
https://hub.docker.com/r/docker/dockerfile # syntax = docker/dockerfile:1.3
FROM ubuntu
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
apt update && apt-get --no-install-recommends install -y gcc 몬가 도커 자체에 캐싱기능이 있는듯하다?! |
캐싱 뭔가 잘 작동 안 되어 다시 이미지를 여러 개로 쪼개는 해법으로 되돌아갔습니다 https://github.com/femiwiki/docker-mediawiki/tree/5de20b926d98f63f7f01fcfb9b592448110012d7/dockers |
플랫폼 따라 빌드한 이미지 둘을 아래 처럼 하나로 묶는 게 된다고 하니
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Takes 35-40 minutes now: https://github.com/femiwiki/docker-mediawiki/actions/workflows/ci.yml
The text was updated successfully, but these errors were encountered: