<gh_stars>0
FROM registry.ott-consult.de/oc/node8
LABEL MAINTAINER="<EMAIL>"

ENV APP_USER=semaphore \
    APP_UID=2006 \
    APP_GROUP=semaphore \
    APP_GID=2006 \
    APP_HOME=/build \
    GIT_COMMIT="x" \
    GO_VERSION=1.10 \
    GOPATH="/build/go" \
    OUTPUT_OWNER=20001 \
    OUTPUT_GROUP=20001 \
    SEMAPHORE_BRANCH=master \
    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/build/go/bin \
    IMAGE_HISTORY="x"

COPY src /

RUN /tmp/install/oc-semaphore-build.sh

USER semaphore
WORKDIR /build
RUN /usr/bin/npm install async

USER root
ENTRYPOINT /entrypoint

