Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit 81600b8

Browse files
committed
feat(acng): add acng
add acng Signed-off-by: mritd <[email protected]>
1 parent 88d665c commit 81600b8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

acng/Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM sameersbn/apt-cacher-ng
2+
3+
LABEL maintainer="mritd <[email protected]>"
4+
5+
RUN set -ex \
6+
&& apt update \
7+
&& apt install tzdata -y \
8+
&& ln -sf /dev/stdout /var/log/apt-cacher-ng/apt-cacher.log \
9+
&& ln -sf /dev/stderr /var/log/apt-cacher-ng/apt-cacher.err \
10+
&& ln -sf /usr/share/zoneinfo/${TZ} /etc/localtime \
11+
&& echo ${TZ} > /etc/timezone \
12+
&& apt autoremove -y \
13+
&& apt autoclean -y \
14+
&& rm -rf /var/lib/apt/lists/*
15+
16+
ENTRYPOINT ["/sbin/entrypoint.sh"]
17+
18+
CMD ["/usr/sbin/apt-cacher-ng"]

0 commit comments

Comments
 (0)