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

Multi-stage builds ? #92

Closed
aaparmeggiani opened this issue Oct 6, 2018 · 4 comments
Closed

Multi-stage builds ? #92

aaparmeggiani opened this issue Oct 6, 2018 · 4 comments

Comments

@aaparmeggiani
Copy link

Hi there, are multi-stage builds supported/planned? (or am I missing something??)

remote: Sending build context to Docker daemon 122.9 kB
remote: Step 1/17 : FROM elixir:1.7-alpine AS builder
remote: Error parsing reference: "elixir:1.7-alpine AS builder" is not a valid repository/tag: invalid reference format

--

% gitkube version
v0.2.1

Thanks in advance,
Andre

@aaparmeggiani
Copy link
Author

Hmm .. needs docker >= 17.05

Multi-stage builds are a new feature requiring Docker 17.05 or higher on the daemon and client.

@tirumaraiselvan
Copy link
Collaborator

I guess we need to update https://github.com/hasura/gitkube/blob/master/build/gitkubed/Dockerfile . Any takers?

@seanprashad
Copy link
Contributor

seanprashad commented Oct 26, 2018

Hey @tirumaraiselvan! I'd like to give this a shot. Would we need to update:

&& curl -o /tmp/docker-1.12 'https://get.docker.com/builds/Linux/x86_64/docker-1.12.6.tgz' \

to be && curl -o /tmp/docker-1.17.05 'https://get.docker.com/builds/Linux/x86_64/docker-1.17.05.tgz' \

and the associated lines that reference /tmp/docker-1.12 to /tmp/docker-1.17.05?

@tirumaraiselvan
Copy link
Collaborator

@seanprashad yes, that should be enough.

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

No branches or pull requests

3 participants