Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
postfix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luiz.nunes
postfix
Commits
037dd5e9
Commit
037dd5e9
authored
Feb 21, 2019
by
luiz.nunes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Dockerfile
parent
0a4fb156
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
Dockerfile
Dockerfile
+1
-3
No files found.
Dockerfile
View file @
037dd5e9
...
@@ -8,8 +8,6 @@ VOLUME ["/var/log", "/var/spool/postfix"]
...
@@ -8,8 +8,6 @@ VOLUME ["/var/log", "/var/spool/postfix"]
RUN
useradd postfix
--gid
0
--uid
1001
RUN
useradd postfix
--gid
0
--uid
1001
USER
postfix
RUN
rpm
--import
/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
&&
\
RUN
rpm
--import
/etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
&&
\
yum updateinfo
-y
&&
\
yum updateinfo
-y
&&
\
yum update
-y
glibc
&&
\
yum update
-y
glibc
&&
\
...
@@ -18,7 +16,6 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \
...
@@ -18,7 +16,6 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \
yum install
-y
python34-devel postfix cyrus-sasl cyrus-sasl-plain mailx
&&
\
yum install
-y
python34-devel postfix cyrus-sasl cyrus-sasl-plain mailx
&&
\
yum clean all
yum clean all
RUN
useradd
-G
cartoons jerry
RUN
chmod
-Rf
g+w /etc/postfix
&&
\
RUN
chmod
-Rf
g+w /etc/postfix
&&
\
chmod
-Rf
g+w /var/log
&&
\
chmod
-Rf
g+w /var/log
&&
\
...
@@ -35,4 +32,5 @@ COPY chaperone.conf /etc/chaperone.d/chaperone.conf
...
@@ -35,4 +32,5 @@ COPY chaperone.conf /etc/chaperone.d/chaperone.conf
COPY
docker-setup.sh /docker-setup.sh
COPY
docker-setup.sh /docker-setup.sh
RUN
chmod +x /docker-setup.sh
RUN
chmod +x /docker-setup.sh
ENTRYPOINT
["/usr/bin/chaperone"]
ENTRYPOINT
["/usr/bin/chaperone"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment