docker-ftp-server/test.sh
2022-01-22 22:34:46 +00:00

8 lines
165 B
Bash
Executable file

#!/bin/sh
set -xe
export IMAGE_NAME=garethflowers/ftp-server
docker build --tag $IMAGE_NAME .
docker run --rm $IMAGE_NAME sh -c 'vsftpd -version 0>&1'
echo "\nOK"