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

build docker image #302

Merged
merged 5 commits into from
Sep 18, 2020
Merged

build docker image #302

merged 5 commits into from
Sep 18, 2020

Conversation

orymate
Copy link
Contributor

@orymate orymate commented Sep 9, 2020

Build a docker image with all the runtime deps of banzai cli that can be used in a ci flow or a kubernetes task.

Mate Ory and others added 2 commits September 9, 2020 16:36

### Use Docker image

Logging in
Copy link
Contributor Author

@orymate orymate Sep 17, 2020

Choose a reason for hiding this comment

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

We might add an example (with a random command) where no config file is mounted, and the base url and the token come from an env var.

Copy link
Member

Choose a reason for hiding this comment

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

Signed-off-by: Peter Balogh <[email protected]>
@pbalogh-sa pbalogh-sa force-pushed the docker-build branch 3 times, most recently from f691616 to b5ed720 Compare September 17, 2020 09:46
Signed-off-by: Peter Balogh <[email protected]>
@pbalogh-sa pbalogh-sa marked this pull request as ready for review September 17, 2020 11:37
Signed-off-by: Peter Balogh <[email protected]>
Copy link
Member

@pregnor pregnor left a comment

Choose a reason for hiding this comment

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

Looks good, please manual test it thoroughly.

.github/workflows/docker.yaml Show resolved Hide resolved
# Install kubectl
ARG KUBECTL_VERSION=v1.16.1
RUN curl -L -s https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl
RUN curl -L -s https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator -o /usr/local/bin/aws-iam-authenticator
Copy link
Member

Choose a reason for hiding this comment

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

Question: shouldn't we put the AWS IAM authenticator version (1.14.6) into an argument as well?

Copy link
Member

@pbalogh-sa pbalogh-sa Sep 18, 2020

Choose a reason for hiding this comment

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

Unfortunately, the release date is contained by the URL, so the proper date should be passed as well.

Copy link
Member

Choose a reason for hiding this comment

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

Indeed.

Dockerfile Show resolved Hide resolved
@pbalogh-sa pbalogh-sa merged commit db72cd7 into master Sep 18, 2020
@pbalogh-sa pbalogh-sa deleted the docker-build branch September 18, 2020 09:33
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