@@ -219,10 +219,11 @@ environment is consistent across any `docker` enabled platform. When the docker
219219image builds, the test are run inside the docker container, on failure they
220220will stop the build.
221221
222- Run the tests with the following command :
222+ Run the tests with the following commands for both `alpine` and `ubuntu` images :
223223
224224` ` ` sh
225- docker build -t s3-resource .
225+ docker build -t s3-resource -f dockerfiles/alpine/Dockerfile .
226+ docker build -t s3-resource -f dockerfiles/ubuntu/Dockerfile .
226227` ` `
227228
228229# ### Integration tests
@@ -234,7 +235,21 @@ integration will run.
234235Run the tests with the following command :
235236
236237` ` ` sh
237- docker build . -t s3-resource --build-arg S3_TESTING_ACCESS_KEY_ID="access-key" --build-arg S3_TESTING_SECRET_ACCESS_KEY="some-secret" --build-arg S3_TESTING_BUCKET="bucket-non-versioned" --build-arg S3_VERSIONED_TESTING_BUCKET="bucket-versioned" --build-arg S3_TESTING_REGION="us-east-1" --build-arg S3_ENDPOINT="https://s3.amazonaws.com"
238+ docker build . -t s3-resource -f dockerfiles/alpine/Dockerfile \
239+ --build-arg S3_TESTING_ACCESS_KEY_ID="access-key" \
240+ --build-arg S3_TESTING_SECRET_ACCESS_KEY="some-secret" \
241+ --build-arg S3_TESTING_BUCKET="bucket-non-versioned" \
242+ --build-arg S3_VERSIONED_TESTING_BUCKET="bucket-versioned" \
243+ --build-arg S3_TESTING_REGION="us-east-1" \
244+ --build-arg S3_ENDPOINT="https://s3.amazonaws.com"
245+
246+ docker build . -t s3-resource -f dockerfiles/ubuntu/Dockerfile \
247+ --build-arg S3_TESTING_ACCESS_KEY_ID="access-key" \
248+ --build-arg S3_TESTING_SECRET_ACCESS_KEY="some-secret" \
249+ --build-arg S3_TESTING_BUCKET="bucket-non-versioned" \
250+ --build-arg S3_VERSIONED_TESTING_BUCKET="bucket-versioned" \
251+ --build-arg S3_TESTING_REGION="us-east-1" \
252+ --build-arg S3_ENDPOINT="https://s3.amazonaws.com"
238253` ` `
239254
240255# ## Contributing
0 commit comments