Skip to content

Commit

Permalink
Update kube-storage-version-migrator, registry, and vault (#1465)
Browse files Browse the repository at this point in the history
* Update kube-storage-version-migrator to 0.0.5.8

Signed-off-by: zeroalphat <[email protected]>

* Update registry to 2.8.3.5

Signed-off-by: zeroalphat <[email protected]>

* Update vault to 1.18.1

Signed-off-by: zeroalphat <[email protected]>

---------

Signed-off-by: zeroalphat <[email protected]>
  • Loading branch information
zeroalphat authored Nov 27, 2024
1 parent 6e8773a commit ac48417
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion kube-storage-version-migrator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Each target is prefixed with "storage-version-migrate-" to construct its repository name.

# Stage1: build from source
FROM ghcr.io/cybozu/golang:1.22-jammy AS build
FROM ghcr.io/cybozu/golang:1.23-noble AS build

ARG MIGRATOR_VERSION=0.0.5

Expand Down
2 changes: 1 addition & 1 deletion kube-storage-version-migrator/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.5.7
0.0.5.8
4 changes: 2 additions & 2 deletions registry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Registry container image

# Stage1: build from source
FROM ghcr.io/cybozu/golang:1.22-jammy AS build
FROM ghcr.io/cybozu/golang:1.23-noble AS build

ARG REGISTRY_VERSION=2.8.3

Expand All @@ -16,7 +16,7 @@ WORKDIR /go/src/github.com/docker/distribution/
RUN GO111MODULE=off CGO_ENABLED=0 make clean binaries VERSION=${REGISTRY_VERSION} REVISION=""

# Stage2: setup runtime container
FROM ghcr.io/cybozu/ubuntu:22.04
FROM ghcr.io/cybozu/ubuntu:24.04
LABEL org.opencontainers.image.source="https://github.com/cybozu/neco-containers"

RUN apt-get update && apt-get install -y --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion registry/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.8.3.4
2.8.3.5
2 changes: 1 addition & 1 deletion vault/BRANCH
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17
1.18
6 changes: 3 additions & 3 deletions vault/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# vault container

# Stage1: build from source
FROM ghcr.io/cybozu/golang:1.22-jammy AS build
FROM ghcr.io/cybozu/golang:1.23-noble AS build

ARG VAULT_VERSION=1.17.5
ARG VAULT_VERSION=1.18.1

RUN git clone --depth=1 -b v${VAULT_VERSION} https://github.com/hashicorp/vault.git

Expand All @@ -14,7 +14,7 @@ RUN make bootstrap && \
make

# Stage2: setup runtime container
FROM ghcr.io/cybozu/ubuntu:22.04
FROM ghcr.io/cybozu/ubuntu:24.04
LABEL org.opencontainers.image.source="https://github.com/cybozu/neco-containers"

COPY --from=build /work/vault/bin /usr/local/vault/bin
Expand Down
4 changes: 2 additions & 2 deletions vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ To launch vault server by `docker run`:
--ulimit memlock=-1 \
-v /your/config.hcl:/vault/config/config.hcl:ro \
-p 8200:8200 -p 8201:8201 \
ghcr.io/cybozu/vault:1.17 \
ghcr.io/cybozu/vault:1.18 \
server -config=/vault/config/config.hcl

To use vault cli, first install it in a host OS directory `DIR`:

$ docker run --rm -u root:root \
--entrypoint /usr/local/vault/install-tools \
-v DIR:/host \
ghcr.io/cybozu/vault:1.17
ghcr.io/cybozu/vault:1.18

Then run `vault` as follows:

Expand Down
2 changes: 1 addition & 1 deletion vault/TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.5.1
1.18.1.1

0 comments on commit ac48417

Please sign in to comment.