Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Dockerfile for new minimal base image based on alpine #317

Merged
merged 1 commit into from
Aug 27, 2018

Conversation

nader-ziada
Copy link
Member

Related to #179

Proposed Changes

  • Add a Dockerfile to generate a minimal base image to be used by build
  • Once this image is published, the .ko.yaml file should be updated to point to it

Release Note

Base image used by build now based on alpine to make downloads faster

@@ -0,0 +1,4 @@
FROM alpine:latest

RUN apk add --update git openssh-client
Copy link
Member

Choose a reason for hiding this comment

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

Should this run apk update too?

Copy link
Member Author

@nader-ziada nader-ziada Aug 27, 2018

Choose a reason for hiding this comment

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

I believe the --update flag fetches the current package index before adding the package.

For reference: https://github.com/gliderlabs/docker-alpine/blob/master/docs/usage.md

Copy link
Member

@imjasonh imjasonh left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ImJasonH, pivotal-nader-ziada

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit cb8dbe7 into knative:master Aug 27, 2018
imjasonh pushed a commit to imjasonh/build that referenced this pull request Sep 18, 2018
mattmoor pushed a commit that referenced this pull request Sep 18, 2018
* Dockerfile for new minimal base image based on alpine (#317)

* Rebuild build-base in release.sh, specify in .ko.yaml (#318)
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
vdemeester pushed a commit to vdemeester/knative-build that referenced this pull request Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants