diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..766af3c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +/.* +/webterminal-proxy diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d64c598 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/webterminal-proxy diff --git a/Dockerfile b/Dockerfile index 5738adc..f2c42ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM registry.access.redhat.com/ubi9/go-toolset:latest AS builder COPY . . -RUN go build -o . +RUN go build -buildvcs=false -o . FROM registry.access.redhat.com/ubi9-micro:latest COPY --from=builder /opt/app-root/src/webterminal-proxy /