Skip to content

Commit

Permalink
fix versions of alpine container
Browse files Browse the repository at this point in the history
  • Loading branch information
karlTGA committed Apr 8, 2021
1 parent bfa4688 commit 987897e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build stage
FROM golang:alpine AS builder
FROM golang:alpine3.13 AS builder

# Install git + SSL ca certificates.
# Git is required for fetching the dependencies.
Expand All @@ -20,7 +20,7 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
RUN /app/tz-service init

# final stage
FROM alpine:3.9 AS app
FROM alpine:3.13 AS app
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=builder /app/tz-service /app/
COPY --from=builder /etc/ssl/certs/* /etc/ssl/certs/
Expand Down

2 comments on commit 987897e

@garex
Copy link
Contributor

@garex garex commented on 987897e Apr 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error response from daemon: Get https://registry-1.docker.io/v2/: unauthorized: incorrect username or password

Seems like you need something other instead of docker hub's

docker/hub-feedback#935

@karlTGA
Copy link
Contributor Author

@karlTGA karlTGA commented on 987897e Apr 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no no, everything is fine. loaded the secrets in the wrong way.😅

Please sign in to comment.