Updated Continerfiles to minimize size
This commit is contained in:
@@ -28,7 +28,9 @@ FROM docker.io/almalinux/9-base:latest
|
||||
|
||||
COPY --from=builder /usr/local/ /usr/local/
|
||||
|
||||
RUN dnf update -y && dnf install -y ca-certificates \
|
||||
RUN printf "tsflags=nodocs\n" >>/etc/dnf/dnf.conf \
|
||||
&& dnf update -y \
|
||||
&& dnf install -y ca-certificates \
|
||||
gnupg2 \
|
||||
libatomic \
|
||||
wget \
|
||||
@@ -39,8 +41,8 @@ RUN dnf update -y && dnf install -y ca-certificates \
|
||||
python3-setuptools \
|
||||
python3-pip \
|
||||
micropipenv \
|
||||
&& dnf clean all && rm -fr /tmp/* /var/tmp/* \
|
||||
&& cd /usr/local/libexec/c-lightning/plugins/clnrest/ && micropipenv install --method requirements
|
||||
&& cd /usr/local/libexec/c-lightning/plugins/clnrest/ && micropipenv install --method requirements \
|
||||
&& rm -rf /var/cache/* /var/log* /tmp/*
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user