diff --git a/.drone.yml b/.drone.yml index 60fdf43..a1a63cf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,6 +25,7 @@ steps: - scripts/setupEnvironment.sh - cat /etc/resolv.conf - cat /etc/hosts + - ping -c 1 registry.cloud.federationhq.de - buildah bud --network host -t "registry.cloud.federationhq.de/netcat:latest-amd64" --arch amd64 . - buildah push --all registry.cloud.federationhq.de/netcat:latest-amd64 --- diff --git a/Containerfile b/Containerfile index 24cdbc0..3c45140 100644 --- a/Containerfile +++ b/Containerfile @@ -1,6 +1,6 @@ FROM alpine:latest -RUN apk --no-cache add netcat-openbsd +RUN apk --no-cache add netcat-openbsd iputils-ping # add a user for running netcat in the container RUN addgroup netcat && adduser -u 8888 -D -G netcat netcat