The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-3043317 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-3092568 - https://snyk.io/vuln/SNYK-UBUNTU2204-OPENSSL-3092591 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-2801886 - https://snyk.io/vuln/SNYK-UBUNTU2204-SHADOW-2801886
15 lines
474 B
Docker
15 lines
474 B
Docker
#
|
|
# Build: docker build -t apt-cacher .
|
|
# Run: docker run -d -p 3142:3142 --name apt-cacher-run apt-cacher
|
|
#
|
|
# and then you can run containers with:
|
|
# docker run -t -i --rm -e http_proxy http://dockerhost:3142/ debian bash
|
|
#
|
|
FROM ubuntu:kinetic-20220830
|
|
|
|
VOLUME ["/var/cache/apt-cacher-ng"]
|
|
RUN apt-get update && apt-get install -y apt-cacher-ng
|
|
|
|
EXPOSE 3142
|
|
CMD chmod 777 /var/cache/apt-cacher-ng && /etc/init.d/apt-cacher-ng start && tail -f /var/log/apt-cacher-ng/*
|