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

Now-CLI Docker MultiStage Builds Error #962

Closed
idkjs opened this issue Nov 1, 2017 · 6 comments
Closed

Now-CLI Docker MultiStage Builds Error #962

idkjs opened this issue Nov 1, 2017 · 6 comments
Assignees
Labels
triaged: feature request Issue or PR has been reviewed by a maintainer and work is being tracked

Comments

@idkjs
Copy link

idkjs commented Nov 1, 2017

macOS Sierra
Node.js 8.9.0
Now-CLI 8.3.11

I have this project, https://github.com/idkjs/lafrenchtech-demo, deployed here on Azure via webhook to this Docker Hub Image. I figured try it with Now-CLI to see what happens. I ran now in the directory with this docker file in it and go the below error. I then tried now --force Obviously, the Dockerfile builds and runs as shown in the links. Does deploying via now require a different structure? Does now not support multi-stage build? Thank you.

shingdev at cosmos in ~/code/lafrenchtech-demo/lafrenchtech-client on master
$ now
> Deploying ~/code/lafrenchtech-demo/lafrenchtech-client under idkjs
> Two manifests found. Press [n] to deploy or re-run with --flag
> [1] package.json         --npm
> [2] Dockerfile        --docker
> Warning! Skipping file /Users/shingdev/code/lafrenchtech-demo/lafrenchtech-client/build/static/js/main.08b5bcea.js.map (size exceeded 1MB)
> Warning! 1 of the files exceeded the limit for your plan.
> Please run `now upgrade` to upgrade.
> Ready! https://lafrenchtech-client-cpjtihmdca.now.sh (copied to clipboard) [1m]
> You (idkjs) are on the OSS plan. Your code and logs will be made public.
> NOTE: You can use `now --public` to skip this prompt
> Synced 35 files (1.07MB) [60s]
> Initializing…
> Building
> ▲ docker build
Sending build context to Docker daemon 1.175 MBkB
> Step 1 : FROM alpine:latest as build
> Error parsing reference: "alpine:latest as build" is not a valid repository/tag
> Error! The build step of your project failed. To retry, run `now --force`.
@idkjs idkjs changed the title Now Docker MultiStage Builds Error Now-CLI Docker MultiStage Builds Error Nov 1, 2017
@rauchg
Copy link
Member

rauchg commented Nov 1, 2017

This is a priority. We'll add support very soon.

@Qix- Qix- assigned Qix- and OlliV Nov 10, 2017
@Qix- Qix- added triaged: feature request Issue or PR has been reviewed by a maintainer and work is being tracked platform labels Nov 10, 2017
@mbitch
Copy link

mbitch commented Jan 30, 2018

Hey guys, any news on Docker multi-stage build support?

@matheuss
Copy link
Member

@teqhire almost there! News coming shortly 🙂

@Tabrizian
Copy link

Any new news on this topic?

@byCedric
Copy link

Just casually stalking this issue to see if there's news, is it implemented now? 😬

@Qix-
Copy link
Contributor

Qix- commented Apr 24, 2018

Yes - multi-stage should be working in OSS (let me know here if that isn't the case).

Multi-stage for paid plans is coming soon. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged: feature request Issue or PR has been reviewed by a maintainer and work is being tracked
Projects
None yet
Development

No branches or pull requests

8 participants