diff --git a/Dockerfile b/Dockerfile index a3a5cad..b410e46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM centos:7 +FROM centos:8 ARG USER_ID=14 ARG GROUP_ID=50 MAINTAINER Fer Uria -LABEL Description="vsftpd Docker image based on Centos 7. Supports passive mode and virtual users." \ +LABEL Description="vsftpd Docker image based on Centos 8. Supports passive mode and virtual users." \ License="Apache License 2.0" \ Usage="docker run -d -p [HOST PORT NUMBER]:21 -v [HOST FTP HOME]:/home/vsftpd fauria/vsftpd" \ Version="1.0" @@ -12,8 +12,6 @@ LABEL Description="vsftpd Docker image based on Centos 7. Supports passive mode RUN yum -y update && yum clean all RUN yum install -y \ vsftpd \ - db4-utils \ - db4 \ iproute && yum clean all RUN usermod -u ${USER_ID} ftp diff --git a/README.md b/README.md index 38b1799..13d7d9c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This Docker container implements a vsftpd server, with the following features: - * Centos 7 base image. + * Centos 8 base image. * vsftpd 3.0 * Virtual users * Passive mode