Skip to content

Commit

Permalink
Code changes from dockerfile-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
dockerfile-generator committed Jun 2, 2024
1 parent 15e4f62 commit 6ad0ce2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM google/cloud-sdk:477.0.0-alpine@sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f AS base
ARG KUSTOMIZE_VERSION=5.4.1
FROM google/cloud-sdk:478.0.0-alpine@sha256:46af533317d6f0df7730f62e397c8a4bc5ba664e139876e97d1fce9e42495ae1 AS base
ARG KUSTOMIZE_VERSION=5.4.2
ARG SOPS_VERSION=3.8.1
ARG HELM_VERSION=3.15.0
ARG HELM_VERSION=3.15.1
ADD https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz /tmp
ADD https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz /tmp
RUN tar xf /tmp/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz -C /usr/bin && \
tar xf /tmp/helm-v${HELM_VERSION}-linux-amd64.tar.gz -C /usr/bin && \
wget https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64 -O /usr/bin/sops && \
chmod a+x /usr/bin/sops

FROM google/cloud-sdk:477.0.0-alpine@sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f
FROM google/cloud-sdk:478.0.0-alpine@sha256:46af533317d6f0df7730f62e397c8a4bc5ba664e139876e97d1fce9e42495ae1
COPY --from=base /usr/bin/kustomize /usr/bin/kustomize
COPY --from=base /usr/bin/linux-amd64/helm /usr/bin/helm
COPY --from=base /usr/bin/sops /usr/bin/sops
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ You can manually build the Docker image with the following command:

```bash
docker buildx build . -t muehlemannpopp/gke-deploy-tools:latest \
--build-arg KUSTOMIZE_VERSION=5.4.1 \
--build-arg KUSTOMIZE_VERSION=5.4.2 \
--build-arg SOPS_VERSION=3.8.1 \
--build-arg HELM_VERSION=3.15.0
--build-arg HELM_VERSION=3.15.1
```

# Push image

```bash
docker tag muehlemannpopp/gke-deploy-tools:latest \
muehlemannpopp/gke-deploy-tools:477.0.0
docker push muehlemannpopp/gke-deploy-tools:477.0.0
muehlemannpopp/gke-deploy-tools:478.0.0
docker push muehlemannpopp/gke-deploy-tools:478.0.0
docker push muehlemannpopp/gke-deploy-tools:latest
```

Expand All @@ -23,10 +23,10 @@ docker push muehlemannpopp/gke-deploy-tools:latest

| dependency | version | last updated | digest |
|--------------|-------------------------|------------------------------|------------------------------|
| google-cloud | 477.0.0-alpine | 2024-05-21T15:14:03.077555Z | sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f |
| kustomize | 5.4.1 | 2024-04-04T17:18:31Z | |
| google-cloud | 478.0.0-alpine | 2024-06-01T10:53:01.143555Z | sha256:46af533317d6f0df7730f62e397c8a4bc5ba664e139876e97d1fce9e42495ae1 |
| kustomize | 5.4.2 | 2024-05-22T15:28:37Z | |
| sops | 3.8.1 | 2023-10-11T15:25:32Z | |
| Helm | 3.15.0 | 2024-05-15T20:59:25Z | |
| Helm | 3.15.1 | 2024-05-23T16:01:32Z | |


## Google Cloud SDK
Expand Down
2 changes: 1 addition & 1 deletion versions.nuon
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{helm: {version: "3.15.0", published_at: "2024-05-15T20:59:25Z"}, kustomize: {version: "5.4.1", published_at: "2024-04-04T17:18:31Z"}, sops: {version: "3.8.1", published_at: "2023-10-11T15:25:32Z"}, cloud-sdk: {image_tag: "477.0.0-alpine", published_at: "2024-05-21T15:14:03.077555Z", version: "477.0.0", digest: "sha256:577007b29199fbe39d66bc1a26a84d9842cb302d49eb3bfc659044f9f087323f"}}
{helm: {version: "3.15.1", published_at: "2024-05-23T16:01:32Z"}, kustomize: {version: "5.4.2", published_at: "2024-05-22T15:28:37Z"}, sops: {version: "3.8.1", published_at: "2023-10-11T15:25:32Z"}, cloud-sdk: {image_tag: "478.0.0-alpine", published_at: "2024-06-01T10:53:01.143555Z", version: "478.0.0", digest: "sha256:46af533317d6f0df7730f62e397c8a4bc5ba664e139876e97d1fce9e42495ae1"}}

0 comments on commit 6ad0ce2

Please sign in to comment.