Skip to content

Commit f171df8

Browse files
committed
Use compute_ctl instead of zenith_ctl
1 parent 1db115c commit f171df8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Image with pre-built tools
33
#
44
FROM neondatabase/compute-tools:latest AS compute-deps
5-
# Only to get ready zenith_ctl binary as deppendency
5+
# Only to get ready compute_ctl binary as deppendency
66

77
#
88
# Image with Postgres build deps
@@ -56,11 +56,14 @@ RUN mkdir /var/db && useradd -m -d /var/db/postgres postgres && \
5656
COPY --from=pg-build /pg/compute_build/postgres_bin /usr/local
5757

5858
# Copy binaries from compute-tools
59-
COPY --from=compute-deps /usr/local/bin/zenith_ctl /usr/local/bin/zenith_ctl
59+
COPY --from=compute-deps /usr/local/bin/compute_ctl /usr/local/bin/compute_ctl
60+
61+
# XXX: temporary symlink for compatibility with old control-plane
62+
RUN ln -s /usr/local/bin/compute_ctl /usr/local/bin/zenith_ctl
6063

6164
# Add postgres shared objects to the search path
6265
RUN echo '/usr/local/lib' >> /etc/ld.so.conf && /sbin/ldconfig
6366

6467
USER postgres
6568

66-
ENTRYPOINT ["/usr/local/bin/zenith_ctl"]
69+
ENTRYPOINT ["/usr/local/bin/compute_ctl"]

0 commit comments

Comments
 (0)