master
Robert Jacob 3 years ago
parent 53ab3bfd09
commit 7837e0e447
  1. 4
      Dockerfile
  2. 3
      go.mod

@ -1,4 +1,4 @@
FROM golang:1 AS builder
FROM golang:1.13.4 AS builder
RUN apt-get update && apt-get install -y upx
RUN go get -u github.com/gobuffalo/packr/packr
@ -29,4 +29,4 @@ COPY --from=builder /go/bin/ldapmin /bin/ldapmin
USER nobody
EXPOSE 8080
ENTRYPOINT ["/bin/ldapmin"]
ENTRYPOINT ["/bin/ldapmin"]

@ -1,8 +1,9 @@
module git.hacknology.de/projekte/ldapmin
go 1.13
require (
github.com/gobuffalo/packr v1.21.9
github.com/gorilla/context v1.1.1 // indirect
github.com/gorilla/mux v1.6.2
github.com/sirupsen/logrus v1.2.0
github.com/spf13/pflag v1.0.3

Loading…
Cancel
Save