🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-11-14 13:49:18 -05:00
parent f449af7993
commit 2a27a55b4c
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 6 additions and 3 deletions

View File

@ -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/* ; \

View File

@ -333,12 +333,14 @@
and documentation is available at <br />
<a href="https://github.com/mpolden/echoip" target="_blank"
>https://github.com/mpolden/echoip</a
>.<br /><br />
>. <br /><br />
My modified code can be found at<br />
<a href="https://github.com/dockermgr/ifconfig" target="_blank"
>https://github.com/dockermgr/ifconfig</a
>.
</p>
<br /><br /><br />
<h5 class="center">Last modified on REPLACE_MODIFIED</h5>
</div>
</div>
</div>