Skip to content

Update Dockerfile to use conformance Docker image #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 5, 2025
Merged
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: 2 additions & 16 deletions build/conformance/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
FROM sbtscala/scala-sbt:eclipse-temurin-23.0.1_11_1.10.7_3.3.4 AS sbt_image
FROM sbtscala/scala-sbt:eclipse-temurin-24.0.1_9_1.11.1_3.3.6 AS sbt_image

FROM alpine AS conformance
RUN apk add --no-cache bash curl tar

RUN mkdir /conformance
WORKDIR /conformance
RUN <<EOF
CONFORMANCE_VERSION="v1.0.4"
UNAME_OS=$(uname -s)
UNAME_ARCH=$(uname -m)
CONFORMANCE_URL="https://github.com/connectrpc/conformance/releases/download/${CONFORMANCE_VERSION}/connectconformance-${CONFORMANCE_VERSION}-${UNAME_OS}-${UNAME_ARCH}.tar.gz"
echo "Downloading conformance from ${CONFORMANCE_URL}"
curl -sSL "${CONFORMANCE_URL}" -o conformance.tgz
tar -xvzf conformance.tgz
chmod +x connectconformance
EOF
FROM ghcr.io/igor-vovk/connect-conformance-dockerimage:1.0.4-1 AS conformance

FROM sbt_image AS build

Expand Down