> 
> Sure, it’s not secret:
> 
> https://gitlab.isc.org/isc-projects/bind9-docker
> 
> Branches with history…
> 

Afaik  apk del \ does not free up space still. 


If you work with builder phase, you can probably shave of some MB's

      1 # Version: 0.0.1 - 3proxy
      2
      3 #
      4 # Stage 0: builder
      5 #
      6 FROM alpine:3.17 as builder
      7
      8 # install necessary packages
      9 RUN apk add build-base git iptables-dev \
     10     --no-cache
     11
     12 RUN mkdir /tmp/3proxy/ && cd /tmp/ \
     13     && git clone --branch master https://github.com/3proxy/3proxy.git 
3proxy/ \
     14     && cd 3proxy/ \
     15     && ln -s Makefile.Linux Makefile \
     16     && make \
     17     && make install
     18
     19
     20 #
     21 # Stage 1: runtime
     22 #
     23 FROM alpine:3.17
     24
     25
     26 # environment settings for this application
     27 ENV TPROXY_USER="tinyproxy" \
     28     TPROXY_UID=10043 \
     29     TPROXY_CFG_DIR="/etc/3proxy" \
     30     TPROXY_CRT_DIR="/etc/ssl/certs" \
     31     TPROXY_KEY_DIR="/etc/ssl/private" \
     32     TPROXY_DATA_DIR="/var/3proxy"



     50 # copy configuration files
     51 RUN mkdir /etc/3proxy/
     52 COPY --from=builder /usr/local/3proxy /usr/local/
     53 COPY --from=builder /bin/3proxy /bin/
     54 COPY --from=builder /bin/ftppr /bin/
     55 COPY --from=builder /bin/proxy /bin/
     56 COPY --from=builder /bin/mycrypt /bin/
     57 COPY --from=builder /bin/socks /bin/
     58 COPY --from=builder /bin/tcppm /bin/
     59 COPY --from=builder /bin/udppm /bin/
     60 COPY --from=builder /etc/3proxy/* /etc/3proxy/
     61 COPY 3proxy.cfg $TPROXY_CFG_DIR/
     62 COPY 3proxy.users $TPROXY_CFG_DIR/


-- 
Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from 
this list

ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to