diff --git a/.drone.yml b/.drone.yml index a1a63cf..fcb6fb7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,11 +23,8 @@ steps: path: /etc/ssl/certs2/ commands: - 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 + - buildah push --network host --all registry.cloud.federationhq.de/netcat:latest-amd64 --- kind: pipeline type: kubernetes diff --git a/Containerfile b/Containerfile index 3c45140..24cdbc0 100644 --- a/Containerfile +++ b/Containerfile @@ -1,6 +1,6 @@ FROM alpine:latest -RUN apk --no-cache add netcat-openbsd iputils-ping +RUN apk --no-cache add netcat-openbsd # add a user for running netcat in the container RUN addgroup netcat && adduser -u 8888 -D -G netcat netcat