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 authored and szamuboy committed Jan 29, 2025
1 parent 8a92331 commit 0c649ff
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM google/cloud-sdk:505.0.0-alpine@sha256:aa09cac314aef6ba8feea5a9548c2a2c1816726a9b0867dbdf2c64bc8ffeebf4 AS base
ARG KUSTOMIZE_VERSION=5.5.0
ARG SOPS_VERSION=3.9.3
ARG HELM_VERSION=3.16.4
FROM google/cloud-sdk:508.0.0-alpine@sha256:605c78b1a76b22b8ec1e351342451b4bb8f86f0098204ed37a6f91070ba5f8a6 AS base
ARG KUSTOMIZE_VERSION=5.6.0
ARG SOPS_VERSION=3.9.4
ARG HELM_VERSION=3.17.0
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:505.0.0-alpine@sha256:aa09cac314aef6ba8feea5a9548c2a2c1816726a9b0867dbdf2c64bc8ffeebf4
FROM google/cloud-sdk:508.0.0-alpine@sha256:605c78b1a76b22b8ec1e351342451b4bb8f86f0098204ed37a6f91070ba5f8a6
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
18 changes: 9 additions & 9 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.5.0 \
--build-arg SOPS_VERSION=3.9.3 \
--build-arg HELM_VERSION=3.16.4
--build-arg KUSTOMIZE_VERSION=5.6.0 \
--build-arg SOPS_VERSION=3.9.4 \
--build-arg HELM_VERSION=3.17.0
```

# Push image

```bash
docker tag muehlemannpopp/gke-deploy-tools:latest \
muehlemannpopp/gke-deploy-tools:505.0.0
docker push muehlemannpopp/gke-deploy-tools:505.0.0
muehlemannpopp/gke-deploy-tools:508.0.0
docker push muehlemannpopp/gke-deploy-tools:508.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 | 505.0.0-alpine | 2025-01-07T18:16:30.639228Z | sha256:aa09cac314aef6ba8feea5a9548c2a2c1816726a9b0867dbdf2c64bc8ffeebf4 |
| kustomize | 5.5.0 | 2024-10-09T13:17:14Z | |
| sops | 3.9.3 | 2024-12-31T12:54:35Z | |
| Helm | 3.16.4 | 2024-12-16T18:53:38Z | |
| google-cloud | 508.0.0-alpine | 2025-01-28T18:03:27.115981Z | sha256:605c78b1a76b22b8ec1e351342451b4bb8f86f0098204ed37a6f91070ba5f8a6 |
| kustomize | 5.6.0 | 2025-01-14T15:32:11Z | |
| sops | 3.9.4 | 2025-01-25T19:46:43Z | |
| Helm | 3.17.0 | 2025-01-15T21:55:26Z | |


## 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.16.4", published_at: "2024-12-16T18:53:38Z"}, kustomize: {version: "5.5.0", published_at: "2024-10-09T13:17:14Z"}, sops: {version: "3.9.3", published_at: "2024-12-31T12:54:35Z"}, cloud-sdk: {image_tag: "505.0.0-alpine", published_at: "2025-01-07T18:16:30.639228Z", version: "505.0.0", digest: "sha256:aa09cac314aef6ba8feea5a9548c2a2c1816726a9b0867dbdf2c64bc8ffeebf4"}}
{helm: {version: "3.17.0", published_at: "2025-01-15T21:55:26Z"}, kustomize: {version: "5.6.0", published_at: "2025-01-14T15:32:11Z"}, sops: {version: "3.9.4", published_at: "2025-01-25T19:46:43Z"}, cloud-sdk: {image_tag: "508.0.0-alpine", published_at: "2025-01-28T18:03:27.115981Z", version: "508.0.0", digest: "sha256:605c78b1a76b22b8ec1e351342451b4bb8f86f0098204ed37a6f91070ba5f8a6"}}

0 comments on commit 0c649ff

Please sign in to comment.