woshikid/alpine
FROM alpine
ENV LANG=C.UTF-8
RUN sed -i -e "s/https/http/g" -e "s/dl-cdn/uk/g" /etc/apk/repositories
RUN --mount=type=cache,target=/var/cache/apk apk add --cache-dir=/var/cache/apk bash grep busybox-extras curl strace tcpdump libfaketime lsof iftop
RUN echo -e "\nHISTCONTROL=ignoredups:ignorespace\nalias ls='ls --color=auto'\nalias ll='ls -alF'\nalias grep='grep --color=auto'" >> /root/.bashrc
RUN echo "alias faketime='LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 FAKETIME_DONT_RESET=1 FAKETIME_XRESET=1 FAKETIME_FORCE_MONOTONIC_FIX=1'" >> /root/.bashrc
CMD ["bash"]
docker pull woshikid/alpine