Files
opencloud/tests/acceptance/docker/src/ocis.Dockerfile
Sawjan Gurung 60fd953c7e [docs-only] Document running tests using ociswrapper (#6283)
* add README for ociswrapper

* add doc on how to tests env config test suites with ociswrapper

* document running tests using ociswrapper

* update local docker compose setup for running tests

* make ocis able to run with ociswrapper

* update wrapper doc

* run with ociswrapper by default

* ignore md files on codacy

* fix README format
2023-05-16 14:39:17 +05:45

13 lines
387 B
Docker

# custom Dockerfile required to run ociswrapper command
# mounting 'ociswrapper' binary doesn't work with image 'amd64/alpine:3.17' (busybox based)
ARG OCIS_IMAGE_TAG
FROM owncloud/ocis:${OCIS_IMAGE_TAG} as ocis
FROM ubuntu:22.04
COPY --from=ocis /usr/bin/ocis /usr/bin/ocis
COPY ["./serve-ocis.sh", "/usr/bin/serve-ocis"]
RUN chmod +x /usr/bin/serve-ocis
ENTRYPOINT [ "serve-ocis" ]