Files
floci/compatibility-tests/sdk-test-rust/Dockerfile
T
Conor Heine eeefb729c4 test: move compatibility tests into this repo (#225)
* test: move compatibility tests into this repo
* fix: add StatisticValues parsing to CloudWatchMetricsJsonHandler
* fix: add missing required abstract methods to EmulatorConfig in EventBridgeSchedulerIntegrationTest
* test: add sdk tests for multipart S3 copy coverage
* fix: cover and fix smithy cbor and multipart s3 copy regressions
* test: migrate more test coverage to new folder
* test: add missing ec2 expectation in healthcheck test
* docs: update READMEs in `./compatibility-tests`
2026-04-06 09:35:53 -05:00

21 lines
521 B
Docker

FROM rust:1-alpine
RUN apk add --no-cache musl-dev pkgconf openssl-dev ca-certificates
WORKDIR /app
# Install cargo-nextest
RUN cargo install cargo-nextest --locked
COPY Cargo.toml Cargo.lock ./
# pre-fetch dependencies
RUN mkdir src tests && echo "" > src/lib.rs && cargo fetch && rm -rf src tests
COPY . .
ENV FLOCI_ENDPOINT=http://floci:4566
ENV AWS_ACCESS_KEY_ID=test
ENV AWS_SECRET_ACCESS_KEY=test
ENV AWS_DEFAULT_REGION=us-east-1
RUN mkdir -p /results
ENTRYPOINT ["cargo", "nextest", "run", "--profile", "ci"]