Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,24 @@ RUN curl --retry 5 --retry-all-errors -fSsL https://github.com/groundcover-com/c
&& tar -zxf /tmp/groundcover.tar.gz -C /usr/bin \
&& chmod +x /usr/bin/groundcover

# Install the Ory CLI so developers can `ory auth` and manage Ory
# Network projects. The non-sqlite build is deliberate: the `sqlite`
# variants link against GLIBC 2.38, newer than this image (Ubuntu
# Jammy, GLIBC 2.35).
ARG ORY_VERSION=1.3.1
RUN set -e; \
if [ "${TARGETARCH}" = "amd64" ]; then \
ARCH_SUFFIX="64bit"; \
elif [ "${TARGETARCH}" = "arm64" ]; then \
ARCH_SUFFIX="arm64"; \
Comment thread
rjhuijsman marked this conversation as resolved.
else \
echo "Unsupported arch: ${TARGETARCH}" && exit 1; \
fi; \
curl --retry 5 --retry-all-errors -fsL "https://github.com/ory/cli/releases/download/v${ORY_VERSION}/ory_${ORY_VERSION}-linux_${ARCH_SUFFIX}.tar.gz" -o ory.tar.gz \
&& tar -zxf ory.tar.gz -C /usr/local/bin/ ory \
&& rm ory.tar.gz \
&& chmod +x /usr/local/bin/ory

# Install the Envoy binary, so we can run the tests that use
# local-binary Envoy rather than Docker-based Envoy.
RUN set -e; \
Expand Down
Loading