Skip to content
Snippets Groups Projects
Commit ff9c529c authored by Mario Vazquez's avatar Mario Vazquez
Browse files

Added ubi8 Dockerfile

parent ef70b465
No related branches found
No related tags found
No related merge requests found
FROM registry.access.redhat.com/ubi8:latest
RUN dnf install golang git -y
WORKDIR /go/src/github.com/mvazquezc/reverse-words/
COPY main.go .
RUN go get github.com/gorilla/mux && go get github.com/prometheus/client_golang/prometheus/promhttp
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
EXPOSE 8080
CMD ["./main"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment