From e21d286cb0313a9ace13dc9095c1f87946ac3056 Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Mon, 7 Aug 2023 18:17:33 +0200 Subject: [PATCH] wtfismyip script added Signed-off-by: Roger Sikorski --- Dockerfile | 4 +++- bin/wtfismyip | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 bin/wtfismyip diff --git a/Dockerfile b/Dockerfile index a905e2d..c26cac5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,6 @@ FROM alpine:latest RUN apk update && \ - apk add --no-cache nano mc micro rsync ncdu git curl \ No newline at end of file + apk add --no-cache nano mc micro rsync ncdu git curl + +ADD ./bin/ /usr/local/bin diff --git a/bin/wtfismyip b/bin/wtfismyip new file mode 100644 index 0000000..a0df022 --- /dev/null +++ b/bin/wtfismyip @@ -0,0 +1,3 @@ +#!/bin/sh +curl https://ipv4.wtfismyip.com/text +curl https://ipv6.wtfismyip.com/text