From f6582635431ce934fc321ded7593802cb2c104df Mon Sep 17 00:00:00 2001 From: Egor Suvorov Date: Tue, 12 Oct 2021 19:05:58 +0000 Subject: [PATCH] Revert "Dockerfile: remove wal_acceptor alias for safekeeper" This reverts commit 64ca94772263b303c83e637d203cbc13f543a3fd. --- Dockerfile | 2 ++ Dockerfile.alpine | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 528f29597f..0bbf03d13c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,6 +38,8 @@ RUN apt-get update && apt-get -yq install libreadline-dev libseccomp-dev openssl COPY --from=build /zenith/target/release/pageserver /usr/local/bin COPY --from=build /zenith/target/release/safekeeper /usr/local/bin +# TODO: temporary alias for compatibility, see https://github.com/zenithdb/zenith/pull/740 +RUN ln -s /usr/local/bin/safekeeper /usr/local/bin/wal_acceptor COPY --from=build /zenith/target/release/proxy /usr/local/bin COPY --from=pg-build /zenith/tmp_install postgres_install COPY docker-entrypoint.sh /docker-entrypoint.sh diff --git a/Dockerfile.alpine b/Dockerfile.alpine index dafb7eaf6b..e0b569de22 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -82,6 +82,8 @@ RUN apk add --update openssl build-base libseccomp-dev RUN apk --no-cache --update --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing add rocksdb COPY --from=build /zenith/target/release/pageserver /usr/local/bin COPY --from=build /zenith/target/release/safekeeper /usr/local/bin +# TODO: temporary alias for compatibility, see https://github.com/zenithdb/zenith/pull/740 +RUN ln -s /usr/local/bin/safekeeper /usr/local/bin/wal_acceptor COPY --from=build /zenith/target/release/proxy /usr/local/bin COPY --from=pg-build /zenith/tmp_install /usr/local COPY docker-entrypoint.sh /docker-entrypoint.sh