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 Apr 17, 2024
1 parent 5ff59b3 commit f67d80e
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:471.0.0-alpine@sha256:3e5148d2c272447d106498bc9fde5216814ec39c0ce94c990991971a3c937754 AS base
ARG KUSTOMIZE_VERSION=5.3.0
FROM google/cloud-sdk:472.0.0-alpine@sha256:b9edb31531eda8b1c642fb59404f2e28955d1556c57b19a8b18913264f5ea640 AS base
ARG KUSTOMIZE_VERSION=5.4.1
ARG SOPS_VERSION=3.8.1
ARG HELM_VERSION=3.14.3
ARG HELM_VERSION=3.14.4
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:471.0.0-alpine@sha256:3e5148d2c272447d106498bc9fde5216814ec39c0ce94c990991971a3c937754
FROM google/cloud-sdk:472.0.0-alpine@sha256:b9edb31531eda8b1c642fb59404f2e28955d1556c57b19a8b18913264f5ea640
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.3.0 \
--build-arg KUSTOMIZE_VERSION=5.4.1 \
--build-arg SOPS_VERSION=3.8.1 \
--build-arg HELM_VERSION=3.14.3
--build-arg HELM_VERSION=3.14.4
```

# Push image

```bash
docker tag muehlemannpopp/gke-deploy-tools:latest \
muehlemannpopp/gke-deploy-tools:471.0.0
docker push muehlemannpopp/gke-deploy-tools:471.0.0
muehlemannpopp/gke-deploy-tools:472.0.0
docker push muehlemannpopp/gke-deploy-tools:472.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 | 471.0.0-alpine | 2024-04-02T17:58:18.49201Z | sha256:3e5148d2c272447d106498bc9fde5216814ec39c0ce94c990991971a3c937754 |
| kustomize | 5.3.0 | 2023-12-07T10:53:09Z | |
| google-cloud | 472.0.0-alpine | 2024-04-16T14:00:48.534Z | sha256:b9edb31531eda8b1c642fb59404f2e28955d1556c57b19a8b18913264f5ea640 |
| kustomize | 5.4.1 | 2024-04-04T17:18:31Z | |
| sops | 3.8.1 | 2023-10-11T15:25:32Z | |
| Helm | 3.14.3 | 2024-03-13T19:48:08Z | |
| Helm | 3.14.4 | 2024-04-10T20:45:47Z | |


## 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.14.3", published_at: "2024-03-13T19:48:08Z"}, kustomize: {version: "5.3.0", published_at: "2023-12-07T10:53:09Z"}, sops: {version: "3.8.1", published_at: "2023-10-11T15:25:32Z"}, cloud-sdk: {image_tag: "471.0.0-alpine", published_at: "2024-04-02T17:58:18.49201Z", version: "471.0.0", digest: "sha256:3e5148d2c272447d106498bc9fde5216814ec39c0ce94c990991971a3c937754"}}
{helm: {version: "3.14.4", published_at: "2024-04-10T20:45:47Z"}, 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: "472.0.0-alpine", published_at: "2024-04-16T14:00:48.534Z", version: "472.0.0", digest: "sha256:b9edb31531eda8b1c642fb59404f2e28955d1556c57b19a8b18913264f5ea640"}}

0 comments on commit f67d80e

Please sign in to comment.