Skip to content
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

Run build tests without the need of a test directory and Dockerfile #690

Open
elchenberg opened this issue Feb 28, 2024 · 0 comments
Open

Comments

@elchenberg
Copy link
Contributor

The following three lines of shell script could be replaced with a one-liner:

echo "FROM docker.io/library/hello-world:latest" | docker build --file=- .

dind-nurse/pkg/setup.go

Lines 88 to 90 in 9bde468

`mkdir -p /test-build
echo "FROM hello-world" > /test-build/Dockerfile
docker build /test-build`,

echo "FROM docker.io/library/hello-world:latest" | docker buildx build --file=- .

dind-nurse/pkg/setup.go

Lines 109 to 111 in 9bde468

`mkdir -p /test-build
echo "FROM hello-world" > /test-build/Dockerfile
docker buildx build /test-build`,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant