Skip to content

Commit

Permalink
Atualizado versão 4.15.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ybucci committed Mar 26, 2022
1 parent 4121e33 commit 7f730b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM centos:centos8

ARG SAMBA_VERSION=4.14.8
ARG SAMBA_VERSION=4.15.6

RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN yum update -y && yum install -y dnf-plugins-core && yum install -y epel-release
RUN yum -v repolist all
RUN yum config-manager --set-enabled PowerTools -y || \
Expand Down
4 changes: 1 addition & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ if [ ! -f /etc/samba/smb.conf ]; then
echo "# ADD YOUR FOLDERS SHARES HERE #
# SET PERMISSIONS OF FOLDER WITH THIS COMMAND:
docker exec -it pdc chown root:\"Domain Admins\" /samba/shares/FOLDER
" > /samba/shares/README.txt
;;
Expand All @@ -70,7 +69,6 @@ if [ ! -f /etc/samba/smb.conf ]; then
echo "# ADD YOUR FOLDERS SHARES HERE #
# SET PERMISSIONS OF FOLDER WITH THIS COMMAND:
docker exec -it pdc chown root:\"Domain Admins\" /samba/shares/FOLDER
" > /samba/shares/README.txt
;;
Expand All @@ -93,4 +91,4 @@ then
fi

# If we get here, the user wants to run their own command. Let them.
exec "$@"
exec "$@"

0 comments on commit 7f730b9

Please sign in to comment.