mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-09-20 09:57:40 -04:00
🗃️ Committing everything that changed 🗃️
applications/ configs/ lists/ wwwroot/
This commit is contained in:
11
applications/ifconfig/scripts/install.sh
Normal file
11
applications/ifconfig/scripts/install.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM golang:1.15-buster AS src
|
||||
|
||||
ENV GO111MODULE=on CGO_ENABLED=0
|
||||
WORKDIR /go/src/github.com/mpolden/echoip
|
||||
RUN apt update && apt install -yy git
|
||||
RUN git clone -q https://github.com/mpolden/echoip /go/src/github.com/mpolden/echoip
|
||||
RUN cd /go/src/github.com/mpolden/echoip && make
|
||||
|
||||
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
|
Reference in New Issue
Block a user