passing tests
This commit is contained in:
parent
5c6b20d772
commit
df4d1e807f
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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 /
|
||||
|
|
Reference in New Issue