2020-09-08 16:29:34 +00:00
|
|
|
# Copyright 2020 VMware, Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
# Use a runtime image based on Debian slim
|
|
|
|
FROM debian:10.5-slim
|
|
|
|
|
|
|
|
# Copy the binary which was built outside the container.
|
2020-10-09 21:25:34 +00:00
|
|
|
COPY build/pinniped-supervisor /usr/local/bin/pinniped-supervisor
|
2020-09-08 16:29:34 +00:00
|
|
|
|
|
|
|
# Document the port
|
2020-11-02 16:57:05 +00:00
|
|
|
EXPOSE 8443
|
2020-09-08 16:29:34 +00:00
|
|
|
|
|
|
|
# Set the entrypoint
|
2020-10-09 21:25:34 +00:00
|
|
|
ENTRYPOINT ["/usr/local/bin/pinniped-supervisor"]
|