Browse Source

Fixed Dockerfile issues

master
Daniel Lim 2 years ago
parent
commit
e64c1988cc
  1. 4
      Dockerfile
  2. 1
      main.go

4
Dockerfile

@ -1,6 +1,6 @@
FROM golang:1.11-rc-alpine as build
FROM golang:1.12-rc-alpine as build
RUN apk add --no-cache git=2.18.1-r0
RUN apk add --no-cache git=2.20.1-r0
WORKDIR /src
COPY go.mod go.sum .env *.go ./

1
main.go

@ -49,6 +49,7 @@ func main() {
if err == nil && exists {
log.Printf("Bucket %s already exists", bucketName)
} else {
log.Printf("%s", err)
log.Fatal("Error creating bucket")
}
} else {

Loading…
Cancel
Save