This commit is contained in:
parent
b0a2ba9833
commit
766ae469ba
@ -23,11 +23,8 @@ steps:
|
|||||||
path: /etc/ssl/certs2/
|
path: /etc/ssl/certs2/
|
||||||
commands:
|
commands:
|
||||||
- scripts/setupEnvironment.sh
|
- 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 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
|
kind: pipeline
|
||||||
type: kubernetes
|
type: kubernetes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:latest
|
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
|
# add a user for running netcat in the container
|
||||||
RUN addgroup netcat && adduser -u 8888 -D -G netcat netcat
|
RUN addgroup netcat && adduser -u 8888 -D -G netcat netcat
|
||||||
|
Loading…
Reference in New Issue
Block a user