
Copy the files from CentOS build. No changes are required to build the stx-oidc-client image within Debian build environment. The image is based on upstream golang. Remove oidc-client docker image build from CentOS Test Plan: PASS: private build of docker image PASS: review/compare content of docker image PASS: isolated run of docker image for exe sanity Story: 2009831 Task: 46463 Change-Id: Ic875337778947f4be05b6f5506302061b67799f5 Signed-off-by: Michel Thebeau <Michel.Thebeau@windriver.com>
9 lines
137 B
Docker
9 lines
137 B
Docker
FROM golang:latest
|
|
WORKDIR /app
|
|
ADD . /app/
|
|
RUN go mod download
|
|
RUN go build -o stx-oidc-client .
|
|
|
|
EXPOSE 5555
|
|
CMD ["./stx-oidc-client"]
|