mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
* update supercronic to the latest release * update tagging for base * fix version tag for core * put versions for all containers into labels instead * define vcf_ref once * remove cache-from as caches will be invalidated early on because of passing the git ref early on * do not rebuild when publishing * do not rebuild when publishing * reduce layers required for env assignment * pull newer base images for kdav, scheduler and ssl if available * alsp publish tag for ldap containers * fix publishing of ssl container
29 lines
948 B
Docker
29 lines
948 B
Docker
from alpine:3.9 as builder
|
|
|
|
RUN apk add --no-cache \
|
|
git make
|
|
RUN mkdir -p /web/oidc-playground /web/kapi-playground
|
|
RUN git clone https://stash.kopano.io/scm/~seisenmann/oidc-playground.git
|
|
RUN mv oidc-playground/www/* /web/oidc-playground
|
|
RUN git clone https://stash.kopano.io/scm/kc/kapi.git
|
|
RUN mv kapi/examples/* /web/kapi-playground
|
|
WORKDIR /web/kapi-playground
|
|
RUN rm Makefile && ln -s oidc-client-example.html index.html
|
|
|
|
from halverneus/static-file-server:v1.5.2
|
|
|
|
ARG VCS_REF
|
|
ARG CODE_VERSION
|
|
|
|
env PORT 8888
|
|
|
|
LABEL maintainer=az@zok.xyz \
|
|
org.label-schema.name="Kopano Playground" \
|
|
org.label-schema.description="Container for running Kopano playground applications for Kapi and OIDC" \
|
|
org.label-schema.url="https://kopano.io" \
|
|
org.label-schema.vcs-ref=$VCS_REF \
|
|
org.label-schema.vcs-url="https://github.com/zokradonh/kopano-docker" \
|
|
org.label-schema.schema-version="1.0"
|
|
|
|
COPY --from=builder /web /web
|