Skip to content

Commit ea6244d

Browse files
authored
Merge pull request #18037 from MinaProtocol/local-images
Replacing common images with ones in our repos
2 parents 51a4915 + 7ffb861 commit ea6244d

File tree

12 files changed

+22
-17
lines changed

12 files changed

+22
-17
lines changed

buildkite/scripts/run_promote_build_job.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# - "CODENAMES=Focal,Bullseye"
2222
# - "FROM_CHANNEL=Unstable"
2323
# - "TO_CHANNEL=Experimental"
24-
# image: codaprotocol/ci-toolchain-base:v3
24+
# image: europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/codaprotocol/ci-toolchain-base:v3
2525
# mount-buildkite-agent: true
2626
# propagate-environment: true
2727

buildkite/src/Constants/ContainerImages.dhall

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
-- NOTE: minaToolchain is the default image for various jobs, set to minaToolchainBullseye
33
-- NOTE: minaToolchainBullseye is also used for building Ubuntu Focal packages in CI
44
-- NOTE: minaToolchainBookworm is also used for building Ubuntu Jammy packages in CI
5-
{ toolchainBase = "codaprotocol/ci-toolchain-base:v3"
5+
{ toolchainBase =
6+
"europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/codaprotocol/ci-toolchain-base:v3"
67
, minaToolchainBookworm =
78
{ amd64 =
89
"gcr.io/o1labs-192920/mina-toolchain@sha256:af79d53279cd58d8c3b013e8c438b479d9067bcdbe8cb32ced74a156bba78e15"
@@ -21,8 +22,9 @@
2122
"gcr.io/o1labs-192920/mina-toolchain@sha256:ff7224ded94d4b41049c1c2f5b3df0820cf81d435291b116628a6c582e9c5c2b"
2223
, minaToolchain =
2324
"gcr.io/o1labs-192920/mina-toolchain@sha256:24c1a641f0d55167006581fd70a013cd90f8a89f3424650ace7ba4210b6825b6"
24-
, postgres = "postgres:12.4-alpine"
25+
, postgres =
26+
"europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/postgres:12.4-alpine"
2527
, xrefcheck =
26-
"dkhamsing/awesome_bot@sha256:a8adaeb3b3bd5745304743e4d8a6d512127646e420544a6d22d9f58a07f35884"
28+
"europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/dkhamsing/awesome_bot:latest"
2729
, nixos = "gcr.io/o1labs-192920/nix-unstable:1.0.0"
2830
}

buildkite/src/Jobs/Test/RocksDBLedgerTarCompatibilityTest.dhall

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ in Pipeline.build
4747
, label = "Check RocksDB Ledger Tar Compatibility"
4848
, key = "test"
4949
, target = Size.Multi
50-
, docker = Some Docker::{ image = "ubuntu:noble" }
50+
, docker = Some Docker::{
51+
, image =
52+
"europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/ubuntu:noble"
53+
}
5154
}
5255
]
5356
}

buildkite/src/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ steps:
2626
- "BUILDKITE_PIPELINE_MODE=PullRequest"
2727
- "BUILDKITE_PIPELINE_STAGE=Test"
2828
- "BUILDKITE_PIPELINE_FILTER=AllTests"
29-
image: codaprotocol/ci-toolchain-base:v3
29+
image: europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/codaprotocol/ci-toolchain-base:v3
3030
mount-buildkite-agent: true
3131
propagate-environment: true
3232
@@ -137,7 +137,7 @@ steps:
137137
- "CODENAMES=Focal,Bullseye"
138138
- "FROM_CHANNEL=Unstable"
139139
- "TO_CHANNEL=Experimental"
140-
image: codaprotocol/ci-toolchain-base:v3
140+
image: europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/codaprotocol/ci-toolchain-base:v3
141141
mount-buildkite-agent: true
142142
propagate-environment: true
143143
```

dockerfiles/Dockerfile-mina-archive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG image=debian:bullseye-slim
1+
ARG image=europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/debian:bullseye-slim
22
FROM ${image}
33

44
# Run with `docker build --build-arg deb_version=<version>`

dockerfiles/Dockerfile-mina-daemon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG image=debian:bullseye-slim
1+
ARG image=europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/debian:bullseye-slim
22
FROM ${image}
33
# Run with `docker build --build-arg deb_version=<version>`
44
ARG deb_version

dockerfiles/Dockerfile-mina-rosetta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG image=ubuntu:focal
1+
ARG image=europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/ubuntu:focal
22
FROM ${image} AS production
33
ARG deb_codename=focal
44
ARG deb_version

dockerfiles/Dockerfile-txn-burst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#or directly run with:
55
# docker run -v <local keypath>:/keys --entrypoint ./_build/default/src/app/batch_txn_tool/batch_txn_tool.exe txn_burst_util --num-txn-per-acct 10 --origin-sender-sk-path "/keys/<origin key path>" --origin-sender-sk-pw "some password" --returner-sk-path "/keys/<origin key path>" --returner-sk-pw "some password"
66

7-
ARG image=debian:bullseye-slim
7+
ARG image=europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/debian:bullseye-slim
88
FROM ${image}
99

1010
ARG deb_version

dockerfiles/Dockerfile-zkapp-test-transaction

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG image=debian:bullseye-slim
1+
ARG image=europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/debian:bullseye-slim
22
FROM ${image}
33

44
# Run with `docker build --build-arg deb_version=<version>`

dockerfiles/stages/1-build-deps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# The "build-deps" stage
33
# - Installs all compilers/interpreters, tools, and OS packages on the given debian or ubuntu image
44
#################################################################################################
5-
# Supports debian:bullseye-slim, and ubuntu:focal
6-
ARG image=ubuntu:focal
5+
# Supports europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/debian:bullseye-slim, and europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/ubuntu:focal
6+
ARG image=europe-west3-docker.pkg.dev/o1labs-192920/euro-docker-repo/ubuntu:focal
77
# Use the image argument to select the base image for this stage
88
# This allows us to use the same Dockerfile for different base images
99
# This arg is defined here globally and does not need to be redefined in

0 commit comments

Comments
 (0)