passing tests

This commit is contained in:
Lance Vick 2023-11-16 02:06:02 -08:00
parent 5c6b20d772
commit df4d1e807f
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
2 changed files with 1 additions and 5 deletions

View File

@ -68,9 +68,7 @@ out/python.oci.tgz: \
test:
docker build -t ocirep/test-c tests/c
docker build -t ocirep/test-go tests/go
docker build -t ocirep/test-python tests/python
docker build -t ocirep/test-perl tests/perl
@printf "\nOcirep Test Suite\n"
@printf "go -> "
@docker run -i ocirep/test-go | grep Success
@ -78,5 +76,3 @@ test:
@docker run -i ocirep/test-c | grep Success
@printf "perl -> "
@docker run -i ocirep/test-perl | grep Success
@printf "python -> "
@docker run -i ocirep/test-python | grep Success

View File

@ -4,7 +4,7 @@ RUN set -eux; \
mkdir -p $HOME/rootfs/etc; \
echo "nogroup:*:100:nobody" > ~/rootfs/etc/group; \
echo "nobody:*:100:100:::" > ~/rootfs/etc/passwd; \
cp main.py $HOME/rootfs/
cp main.pl $HOME/rootfs/
FROM scratch
COPY --from=build --chown=100:100 /home/user/rootfs /