test(): adds test script
This commit is contained in:
parent
658ece9e03
commit
a67dccdcd1
1 changed files with 8 additions and 0 deletions
8
test.sh
Executable file
8
test.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export IMAGE_NAME=garethflowers/ftp-server
|
||||||
|
|
||||||
|
docker build --tag $IMAGE_NAME .
|
||||||
|
docker run --rm $IMAGE_NAME sh -c 'vsftpd -version 0>&1'
|
||||||
|
|
||||||
|
echo "\nOK"
|
Loading…
Reference in a new issue