Skip to content

Commit

Permalink
update doc due to alpine removal
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Yang <[email protected]>
  • Loading branch information
Rui Yang committed May 25, 2023
1 parent 7c26b0c commit 67632cc
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,11 +595,10 @@ environment is consistent across any `docker` enabled platform. When the docker
image builds, the test are run inside the docker container, on failure they
will stop the build.

Run the tests with the following commands for both `alpine` and `ubuntu` images:
Run the tests with the following commands:

```sh
docker build -t registry-image-resource --target tests -f dockerfiles/alpine/Dockerfile .
docker build -t registry-image-resource --target tests -f dockerfiles/ubuntu/Dockerfile --build-arg base_image=ubuntu:latest .
docker build -t registry-image-resource --target tests --build-arg base_image=paketobuildpacks/run-jammy-base:latest .
```

Expand All @@ -612,17 +611,7 @@ dockerhub repo, and one GCR repo. The `docker build` step requires setting
Run the tests with the following command:

```sh
docker build . -t registry-image-resource --target tests -f dockerfiles/alpine/Dockerfile \
--build-arg DOCKER_PRIVATE_USERNAME="some-username" \
--build-arg DOCKER_PRIVATE_PASSWORD="some-password" \
--build-arg DOCKER_PRIVATE_REPO="some/repo" \
--build-arg DOCKER_PUSH_USERNAME="some-username" \
--build-arg DOCKER_PUSH_PASSWORD="some-password" \
--build-arg DOCKER_PUSH_REPO="some/repo" \
--build-arg GCR_PUSH_SERVICE_ACCOUNT_KEY='{"some":"json"}' \
--build-arg GCR_PUSH_REPO="some/repo"
docker build . -t registry-image-resource --target tests -f dockerfiles/ubuntu/Dockerfile \
docker build . -t registry-image-resource --target tests \
--build-arg DOCKER_PRIVATE_USERNAME="some-username" \
--build-arg DOCKER_PRIVATE_PASSWORD="some-password" \
--build-arg DOCKER_PRIVATE_REPO="some/repo" \
Expand Down

0 comments on commit 67632cc

Please sign in to comment.