Combine runs to one layer (#1151)
This commit is contained in:
parent
96022d3aaf
commit
2f0f2ee40d
|
@ -10,7 +10,7 @@ RUN apk update && apk add go git gcc musl-dev \
|
||||||
FROM alpine:edge
|
FROM alpine:edge
|
||||||
RUN apk --no-cache add ca-certificates mailcap
|
RUN apk --no-cache add ca-certificates mailcap
|
||||||
COPY --from=builder /bin/matterbridge /bin/matterbridge
|
COPY --from=builder /bin/matterbridge /bin/matterbridge
|
||||||
RUN mkdir /etc/matterbridge
|
RUN mkdir /etc/matterbridge \
|
||||||
RUN touch /etc/matterbridge/matterbridge.toml
|
&& touch /etc/matterbridge/matterbridge.toml \
|
||||||
RUN ln -sf /matterbridge.toml /etc/matterbridge/matterbridge.toml
|
&& ln -sf /matterbridge.toml /etc/matterbridge/matterbridge.toml
|
||||||
ENTRYPOINT ["/bin/matterbridge", "-conf", "/etc/matterbridge/matterbridge.toml"]
|
ENTRYPOINT ["/bin/matterbridge", "-conf", "/etc/matterbridge/matterbridge.toml"]
|
||||||
|
|
Loading…
Reference in New Issue