docker-ftp-server/test.sh

9 lines
165 B
Bash
Raw Normal View History

2021-12-23 22:02:59 +00:00
#!/bin/sh
2022-01-22 22:34:46 +00:00
set -xe
2021-12-23 22:02:59 +00:00
export IMAGE_NAME=garethflowers/ftp-server
docker build --tag $IMAGE_NAME .
docker run --rm $IMAGE_NAME sh -c 'vsftpd -version 0>&1'
echo "\nOK"