From 2a27a55b4cbeb908fdc5b7111688c2b962027940 Mon Sep 17 00:00:00 2001 From: casjay Date: Mon, 14 Nov 2022 13:49:18 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- rootfs/opt/echoip/html/index.html | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4b0d3fc..2993503 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,8 @@ ENV LANG=en_US.UTF-8 \ TIMEZONE="${TZ:-$TIMEZONE}" \ HOSTNAME="casjaysdev-ifconfig" -COPY ./rootfs/. / COPY --from=src /go/bin/echoip /opt/echoip/ +COPY ./rootfs/. / RUN set -ex; \ rm -Rf "/etc/apk/repositories"; \ @@ -37,7 +37,8 @@ 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 +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 echo 'Running cleanup' ; \ rm -Rf /usr/share/doc/* /usr/share/info/* /tmp/* /var/tmp/* ; \ diff --git a/rootfs/opt/echoip/html/index.html b/rootfs/opt/echoip/html/index.html index 374227e..dd9053d 100644 --- a/rootfs/opt/echoip/html/index.html +++ b/rootfs/opt/echoip/html/index.html @@ -333,12 +333,14 @@ and documentation is available at
https://github.com/mpolden/echoip.

+ >.

My modified code can be found at
https://github.com/dockermgr/ifconfig.

+


+
Last modified on REPLACE_MODIFIED