mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-22 04:20:37 -06:00
Merge pull request #2718 from owncloud/unblock_docker_based_acceptance
quickfix root dockerfile to unblock docker based acceptance tests
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -1,9 +1,16 @@
|
||||
FROM owncloudci/golang:1.17 as build
|
||||
FROM owncloudci/nodejs:14 as generate
|
||||
|
||||
COPY ./ /ocis/
|
||||
|
||||
WORKDIR /ocis/ocis
|
||||
RUN make clean generate build
|
||||
RUN make ci-node-generate
|
||||
|
||||
FROM owncloudci/golang:1.17 as build
|
||||
|
||||
COPY --from=generate /ocis /ocis
|
||||
|
||||
WORKDIR /ocis/ocis
|
||||
RUN make ci-go-generate build
|
||||
|
||||
|
||||
FROM alpine:3.13
|
||||
@@ -15,9 +22,9 @@ RUN apk update && \
|
||||
echo 'hosts: files dns' >| /etc/nsswitch.conf
|
||||
|
||||
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
|
||||
org.label-schema.name="ownCloud Infinite Scale" \
|
||||
org.label-schema.vendor="ownCloud GmbH" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
org.label-schema.name="ownCloud Infinite Scale" \
|
||||
org.label-schema.vendor="ownCloud GmbH" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
|
||||
ENTRYPOINT ["/usr/bin/ocis"]
|
||||
CMD ["server"]
|
||||
|
||||
Reference in New Issue
Block a user