🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-11-14 13:59:07 -05:00
parent 2a27a55b4c
commit e89d03f067
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -37,8 +37,9 @@ RUN set -ex; \
if [ "${ALPINE_VERSION}" = "edge" ]; then echo "http://dl-cdn.alpinelinux.org/alpine/${ALPINE_VERSION}/testing" >>"/etc/apk/repositories" ; fi ; \
apk update --update-cache && apk add --no-cache ${PACK_LIST}
RUN ln -sf /opt/echoip/echoip /usr/local/bin/echoip && \
sed -i 's|REPLACE_MODIFIED|'$(date +"%y-%m-%d at %H:%M")'|g' /opt/echoip/html/index.html
RUN ln -sf /opt/echoip/echoip /usr/local/bin/echoip ; \
ln -sf /opt/echoip/echoip /usr/local/bin/ifconfig ; \
sed -i "s|REPLACE_MODIFIED|$(date +'%Y-%m-%d at %H:%M')|g" /opt/echoip/html/index.html
RUN echo 'Running cleanup' ; \
rm -Rf /usr/share/doc/* /usr/share/info/* /tmp/* /var/tmp/* ; \