Sha256: dd1275a094019581c02a700b9a09cb65d797b9e3e38ed6a08f7a07fbbbf515bc
Contents?: true
Size: 903 Bytes
Versions: 3
Compression:
Stored size: 903 Bytes
Contents
FROM alpine:3.12.0 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 alpine:3.12.0 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
betterlog-0.14.1 | Dockerfile |
betterlog-0.14.0 | Dockerfile |
betterlog-0.13.1 | Dockerfile |