@@ -226,11 +226,11 @@ environment is consistent across any `docker` enabled platform. When the docker
226
226
image builds, the test are run inside the docker container, on failure they
227
227
will stop the build.
228
228
229
- Run the tests with the following commands for both `alpine` and `ubuntu` images :
229
+ Run the tests with the following command :
230
230
231
231
` ` ` sh
232
- docker build -t s3-resource --target tests -f dockerfiles/alpine/Dockerfile .
233
- docker build -t s3-resource --target tests -f dockerfiles/ubuntu/Dockerfile .
232
+ docker build -t s3-resource --target tests --build-arg base_image=paketobuildpacks/run-jammy-base:latest .
233
+ .
234
234
` ` `
235
235
236
236
# ### Integration tests
@@ -242,15 +242,7 @@ integration will run.
242
242
Run the tests with the following command :
243
243
244
244
` ` ` sh
245
- docker build . -t s3-resource --target tests -f dockerfiles/alpine/Dockerfile \
246
- --build-arg S3_TESTING_ACCESS_KEY_ID="access-key" \
247
- --build-arg S3_TESTING_SECRET_ACCESS_KEY="some-secret" \
248
- --build-arg S3_TESTING_BUCKET="bucket-non-versioned" \
249
- --build-arg S3_VERSIONED_TESTING_BUCKET="bucket-versioned" \
250
- --build-arg S3_TESTING_REGION="us-east-1" \
251
- --build-arg S3_ENDPOINT="https://s3.amazonaws.com"
252
-
253
- docker build . -t s3-resource --target tests -f dockerfiles/ubuntu/Dockerfile \
245
+ docker build . -t s3-resource --target tests \
254
246
--build-arg S3_TESTING_ACCESS_KEY_ID="access-key" \
255
247
--build-arg S3_TESTING_SECRET_ACCESS_KEY="some-secret" \
256
248
--build-arg S3_TESTING_BUCKET="bucket-non-versioned" \
0 commit comments