add curl to the oCIS OCI image

This commit is contained in:
Willy Kloucek
2022-10-07 07:12:03 +02:00
parent c4b09b0e02
commit 503c8a38eb
5 changed files with 10 additions and 16 deletions

View File

@@ -30,10 +30,7 @@ RUN make ci-go-generate build
FROM alpine:3.15
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap && \
rm -rf /var/cache/apk/* && \
RUN apk add --no-cache ca-certificates mailcap tree attr curl && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \

View File

@@ -0,0 +1,6 @@
Enhancement: Add curl to the oCIS OCI image
We've added curl to the oCIS OCI image published on Dockerhub.
This can be used for eg. healthchecks with the services' health endpoint.
https://github.com/owncloud/ocis/pull/4751

View File

@@ -3,10 +3,7 @@ FROM amd64/alpine:3.15
ARG VERSION=""
ARG REVISION=""
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap tree attr && \
rm -rf /var/cache/apk/* && \
RUN apk add --no-cache ca-certificates mailcap tree attr curl && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \

View File

@@ -3,10 +3,7 @@ FROM arm32v6/alpine:3.15
ARG VERSION=""
ARG REVISION=""
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap tree attr && \
rm -rf /var/cache/apk/* && \
RUN apk add --no-cache ca-certificates mailcap tree attr curl && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \

View File

@@ -3,10 +3,7 @@ FROM arm64v8/alpine:3.15
ARG VERSION=""
ARG REVISION=""
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap tree attr && \
rm -rf /var/cache/apk/* && \
RUN apk add --no-cache ca-certificates mailcap tree attr curl && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \