Sha256: 5494c9b4f935688c9b0149e37209f61fb668bb5d1d1c9f9887a4adb286da0635
Contents?: true
Size: 919 Bytes
Versions: 18
Compression:
Stored size: 919 Bytes
Contents
ARG BASE_IMAGE FROM ${BASE_IMAGE} AS builder # Update/Upgrade/Add packages for building RUN apk add --no-cache bash git go build-base # Build happening WORKDIR /build/betterlog ADD . . ENV GOPATH=/build/betterlog/gospace RUN make clobber RUN go get -u github.com/betterplace/go-init RUN make fetch all FROM ${BASE_IMAGE} AS runner # Update/Upgrade/Add packages RUN apk add --no-cache bash ca-certificates RUN apk add --no-cache tzdata && \ cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime && \ echo Europe/Berlin >/etc/timezone && \ apk del tzdata ARG APP_DIR=/app RUN adduser -h ${APP_DIR} -s /bin/bash -D appuser RUN mkdir -p /opt/bin COPY --from=builder --chown=appuser:appuser /build/betterlog/gospace/bin/go-init /build/betterlog/betterlog-server /opt/bin/ ENV PATH /opt/bin:${PATH} EXPOSE 5514 CMD [ "/opt/bin/go-init", "-pre", "/bin/sleep 3", "-main", "/opt/bin/betterlog-server" ]
Version data entries
18 entries across 18 versions & 1 rubygems