diff --git a/Dockerfile b/Dockerfile index 62e0de7e15..34f5282c2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Postgres -FROM zimg/rust:1.58 AS pg-build +FROM neondatabase/rust:1.58 AS pg-build WORKDIR /pg USER root @@ -14,7 +14,7 @@ RUN set -e \ && tar -C tmp_install -czf /postgres_install.tar.gz . # Build zenith binaries -FROM zimg/rust:1.58 AS build +FROM neondatabase/rust:1.58 AS build ARG GIT_VERSION=local ARG CACHEPOT_BUCKET=zenith-rust-cachepot @@ -46,9 +46,9 @@ RUN set -e \ && useradd -d /data zenith \ && chown -R zenith:zenith /data -COPY --from=build --chown=zenith:zenith /home/circleci/project/target/release/pageserver /usr/local/bin -COPY --from=build --chown=zenith:zenith /home/circleci/project/target/release/safekeeper /usr/local/bin -COPY --from=build --chown=zenith:zenith /home/circleci/project/target/release/proxy /usr/local/bin +COPY --from=build --chown=zenith:zenith /home/runner/project/target/release/pageserver /usr/local/bin +COPY --from=build --chown=zenith:zenith /home/runner/project/target/release/safekeeper /usr/local/bin +COPY --from=build --chown=zenith:zenith /home/runner/project/target/release/proxy /usr/local/bin COPY --from=pg-build /pg/tmp_install/ /usr/local/ COPY --from=pg-build /postgres_install.tar.gz /data/ diff --git a/Dockerfile.compute-tools b/Dockerfile.compute-tools index f0c9b9d56a..1e7e20eae0 100644 --- a/Dockerfile.compute-tools +++ b/Dockerfile.compute-tools @@ -1,6 +1,6 @@ # First transient image to build compute_tools binaries # NB: keep in sync with rust image version in .circle/config.yml -FROM zimg/rust:1.58 AS rust-build +FROM neondatabase/rust:1.58 AS rust-build ARG CACHEPOT_BUCKET=zenith-rust-cachepot ARG AWS_ACCESS_KEY_ID @@ -15,4 +15,4 @@ RUN set -e \ # Final image that only has one binary FROM debian:buster-slim -COPY --from=rust-build /home/circleci/project/target/release/compute_ctl /usr/local/bin/compute_ctl +COPY --from=rust-build /home/runner/project/target/release/compute_ctl /usr/local/bin/compute_ctl