Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add curl to the oCIS OCI image #4751

Merged
merged 1 commit into from
Oct 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>" \
Expand Down
6 changes: 6 additions & 0 deletions changelog/unreleased/add-curl-to-ocis-image.md
Original file line number Diff line number Diff line change
@@ -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
5 changes: 1 addition & 4 deletions ocis/docker/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>" \
Expand Down
5 changes: 1 addition & 4 deletions ocis/docker/Dockerfile.linux.arm
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>" \
Expand Down
5 changes: 1 addition & 4 deletions ocis/docker/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>" \
Expand Down