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 Dec 14, 2023
1 parent a9f5a4f commit 5afd3c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 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:456.0.0-alpine@sha256:03623841660530018b56b36a110c6fc084ff70fcbfbad34cc1ff27d3d948ebf2 AS base
ARG KUSTOMIZE_VERSION=5.2.1
FROM google/cloud-sdk:457.0.0-alpine@sha256:f1d4ec2b2b93dcaad7e3f64a042a2b02f71f1601a9539a96700d7d60ec678693 AS base
ARG KUSTOMIZE_VERSION=5.3.0
ARG SOPS_VERSION=3.8.1
ARG HELM_VERSION=3.13.2
ARG HELM_VERSION=3.13.3
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:456.0.0-alpine@sha256:03623841660530018b56b36a110c6fc084ff70fcbfbad34cc1ff27d3d948ebf2
FROM google/cloud-sdk:457.0.0-alpine@sha256:f1d4ec2b2b93dcaad7e3f64a042a2b02f71f1601a9539a96700d7d60ec678693
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.2.1 \
--build-arg KUSTOMIZE_VERSION=5.3.0 \
--build-arg SOPS_VERSION=3.8.1 \
--build-arg HELM_VERSION=3.13.2
--build-arg HELM_VERSION=3.13.3
```

# Push image

```bash
docker tag muehlemannpopp/gke-deploy-tools:latest \
muehlemannpopp/gke-deploy-tools:456.0.0
docker push muehlemannpopp/gke-deploy-tools:456.0.0
muehlemannpopp/gke-deploy-tools:457.0.0
docker push muehlemannpopp/gke-deploy-tools:457.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 | 456.0.0-alpine | 2023-12-06T11:52:43.90732Z | sha256:03623841660530018b56b36a110c6fc084ff70fcbfbad34cc1ff27d3d948ebf2 |
| kustomize | 5.2.1 | 2023-10-19T20:22:10Z | |
| google-cloud | 457.0.0-alpine | 2023-12-13T11:55:54.740487Z | sha256:f1d4ec2b2b93dcaad7e3f64a042a2b02f71f1601a9539a96700d7d60ec678693 |
| kustomize | 5.3.0 | 2023-12-07T10:53:09Z | |
| sops | 3.8.1 | 2023-10-11T15:25:32Z | |
| Helm | 3.13.2 | 2023-11-08T13:39:28Z | |
| Helm | 3.13.3 | 2023-12-13T21:41:49Z | |


## Google Cloud SDK
Expand Down

0 comments on commit 5afd3c7

Please sign in to comment.