gliderlabs / gliderlabs/docker-alpine

Issue in minikube docker --> ERROR: http://nl.alpinelinux.org/alpine/v3.5/main: DNS lookup error

Open
#560 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
5.7k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

I am using minikube configured docker. But when i am building docker image, which is giving error DNS lookup error. I am stuck to build docker. But if i am building docker image without minikube it is working and giving desire output. can any one help me to solve issue. As per my understanding issue occurs with minikube.

```
# Image Used
FROM golang:alpine AS builder

# Get dependent packages
RUN apk update && apk add git && apk add make

# First Stage: Builds the app
WORKDIR /app
COPY . .

# Run the custom Makefile to manage build flags and inject
RUN make docker_build

# Second Stage: Copies the binary and requirements and runs the app
FROM alpine AS bin
......

EXPOSE 8080
CMD ["./my_service"]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.