docker compose build && \
docker compose up -d
docker exec -it apt_cacher_ng \
tail -f /var/log/apt-cacher-ng/apt-cacher.log
In tests
subdirectory:
- Build the test client once.
time docker compose build \
--build-arg APT_CACHER_NG_HOST=localhost \
--build-arg APT_CACHER_NG_PORT=3142 \
--no-cache
- Read the logs to see that files have been cached.
- Build the test client once again. It should be faster.
- Read the logs to see that cached files have been reused.
docker exec -it apt_cacher_ng bash
docker exec -it apt_cacher_ng find /var/cache/apt-cacher-ng
In project root directory:
docker compose stop
In project root directory:
docker compose rm --volumes