17 lines
647 B
Docker
17 lines
647 B
Docker
|
|
ARG BASE_IMAGE
|
|
FROM ${BASE_IMAGE} as builder
|
|
FROM scratch
|
|
|
|
COPY --from=builder /opt/converge/bin/converge /opt/converge/bin/
|
|
COPY --from=builder /opt/converge/bin/agent \
|
|
/opt/converge/bin/tcptows \
|
|
/opt/converge/bin/wsproxy \
|
|
/opt/converge/bin/agent.exe \
|
|
/opt/converge/bin/tcptows.exe \
|
|
/opt/converge/bin/wsproxy.exe \
|
|
/opt/converge/static/
|
|
COPY --from=builder /opt/converge/static/ /opt/converge/static/
|
|
|
|
ENTRYPOINT ["/opt/converge/bin/converge", "--static", "/opt/converge/static", "--downloads", "/opt/converge/static" ]
|