Skip to content

Commit

Permalink
feat(k8s): add ECR credential helper to in-cluster docker builder
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Mar 10, 2020
1 parent 699cbac commit 6c0d3d3
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Declare variables to be passed into your templates.

image:
repository: docker
tag: 19.03.4-dind
repository: gardendev/docker-dind
tag: "19.03.7"
pullPolicy: IfNotPresent

nameOverride: "garden-docker-daemon"
Expand Down
3 changes: 3 additions & 0 deletions images/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# images

Here we place container images that we maintain and reference when using Garden.
6 changes: 6 additions & 0 deletions images/docker-dind/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM docker:19.03.7-dind

RUN apk add --no-cache curl
RUN cd /usr/local/bin && \
curl -O https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.4.0/linux-amd64/docker-credential-ecr-login && \
chmod +x docker-credential-ecr-login
6 changes: 6 additions & 0 deletions images/docker-dind/garden.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Module
type: container
name: docker-dind
description: The image used for the in-cluster docker daemon. Extending the base image to add credential helpers.
image: gardendev/docker-dind:19.03.7
dockerfile: Dockerfile
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6c0d3d3

Please sign in to comment.