Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update Dockerfile #69

wants to merge 2 commits into from

Conversation

mhenselin
Copy link

fix: adapted Dockerfile to at least getting it to build ;-)

@mhenselin
Copy link
Author

@amborle

@jmargulis
Copy link

This works for me, after failures with the Dockerfile in the master branch. I would suggest merging it.

$ docker-compose build --no-cache
[+] Building 877.0s (17/17) FINISHED
 => [internal] load build definition from Dockerfile                                                                                                 0.1s
 => => transferring dockerfile: 684B                                                                                                                 0.0s
 => [internal] load .dockerignore                                                                                                                    0.0s
 => => transferring context: 2B                                                                                                                      0.0s
 => [internal] load metadata for docker.io/library/golang:1.15-alpine                                                                                3.9s
 => [ 1/12] FROM docker.io/library/golang:1.15-alpine@sha256:b58c367d52e46cdedc25ec9cd74cadb14ad65e8db75b25e5ec117cdb227aa264                       58.6s
 => => resolve docker.io/library/golang:1.15-alpine@sha256:b58c367d52e46cdedc25ec9cd74cadb14ad65e8db75b25e5ec117cdb227aa264                          0.0s
 => => sha256:b58c367d52e46cdedc25ec9cd74cadb14ad65e8db75b25e5ec117cdb227aa264 1.65kB / 1.65kB                                                       0.0s
 => => sha256:dc5787428863f5e2f832b52bf7405c191c575a9b38a19ae4d0cc641079242e63 1.36kB / 1.36kB                                                       0.0s
 => => sha256:1403af3b6d4ae3d0021f289a714d4df962b6be59a7fdecf4c6363c9b0f47c340 5.13kB / 5.13kB                                                       0.0s
 => => sha256:29291e31a76a7e560b9b7ad3cada56e8c18d50a96cca8a2573e4f4689d7aca77 2.81MB / 2.81MB                                                       0.4s
 => => sha256:e4bc8fc554c31c0fb115880309eafbbdfcbeaa5259281e59b26346027eb06831 281.50kB / 281.50kB                                                   0.5s
 => => sha256:803daa35ea4774c1839c77f23e37057a576d5cce3a041b2e2b5f700cf3f036b9 155B / 155B                                                           0.6s
 => => extracting sha256:29291e31a76a7e560b9b7ad3cada56e8c18d50a96cca8a2573e4f4689d7aca77                                                            1.1s
 => => sha256:38284154e39640e51f13a639dd8dd9a8d68a41aa82f4891bac56a3a0e49f1290 106.92MB / 106.92MB                                                   8.0s
 => => sha256:a66f7597198af53100c7f92e143ffd3b724c17363091713fad62997b3bc06a5a 155B / 155B                                                           0.8s
 => => extracting sha256:e4bc8fc554c31c0fb115880309eafbbdfcbeaa5259281e59b26346027eb06831                                                            0.5s
 => => extracting sha256:803daa35ea4774c1839c77f23e37057a576d5cce3a041b2e2b5f700cf3f036b9                                                            0.0s
 => => extracting sha256:38284154e39640e51f13a639dd8dd9a8d68a41aa82f4891bac56a3a0e49f1290                                                           48.3s
 => => extracting sha256:a66f7597198af53100c7f92e143ffd3b724c17363091713fad62997b3bc06a5a                                                            0.0s
 => [internal] load build context                                                                                                                   28.0s
 => => transferring context: 20.67MB                                                                                                                24.1s
 => [ 2/12] WORKDIR /src                                                                                                                             0.7s
 => [ 3/12] RUN apk add --update npm git                                                                                                             6.2s
 => [ 4/12] RUN go get -u github.com/jteeuwen/go-bindata/...                                                                                         8.3s
 => [ 5/12] COPY ./webapp/package.json webapp/package.json                                                                                           0.3s
 => [ 6/12] COPY ./webapp/package-lock.json webapp/package-lock.json                                                                                 0.3s
 => [ 7/12] RUN cd ./webapp &&     npm ci                                                                                                          265.8s
 => [ 8/12] COPY . .                                                                                                                                84.1s
 => [ 9/12] RUN cd ./webapp &&     npm run build                                                                                                   388.4s
 => [10/12] RUN cd ./migrations &&     go-bindata  -pkg migrations .                                                                                 1.2s
 => [11/12] RUN go-bindata  -pkg tmpl -o ./tmpl/bindata.go  ./tmpl/ &&     go-bindata  -pkg webapp -o ./webapp/bindata.go  ./webapp/build/...        2.2s
 => [12/12] RUN go build -o /opt/featmap/featmap &&     chmod 775 /opt/featmap/featmap                                                              35.9s
 => exporting to image                                                                                                                              20.3s
 => => exporting layers                                                                                                                             20.2s
 => => writing image sha256:594d965183cfee289e358c97857a34bbbad28c4bbb9aea3bf32dc9e987c93a42                                                         0.0s
 => => naming to docker.io/amborle/featmap                                                                                                           0.0s

image

@davidlindgren
Copy link

Thank you, @mhenselin.

@JohannesGandhi
Copy link

@mhenselin could you maybe have a look at the discussion in #83 and help me out with the missing conf.json?
I run into the same problem using your branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants