UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
mariadb
mariadb105
Commits
4a0da5ba
Commit
4a0da5ba
authored
Apr 06, 2021
by
Vickie Shen
Browse files
removed regexp keys
parent
c6c9b410
Pipeline
#212003
passed with stages
in 20 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+5
-5
No files found.
Dockerfile
View file @
4a0da5ba
...
...
@@ -16,6 +16,10 @@ RUN cd /opt/mariadb-10.5.9-rhel-8-x86_64-rpms && \
./setup_repository
&&
\
dnf
-y
update
&&
dnf
-y
upgrade
&&
\
dnf
install
-y
--nogpgcheck
MariaDB-server /opt/
*
.rpm
&&
\
chmod
-R
g-s /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool
&&
\
find /usr/share/doc/perl-IO-Socket-SSL/certs
-name
"*.enc"
-o
-name
"*.pem"
| xargs
rm
-f
&&
\
find /usr/share/doc/perl-IO-Socket-SSL/example
-name
"*.pl"
-o
| xargs
rm
-f
&&
\
find /usr/share/doc/perl-Net-SSLeay/examples
-name
"*.pem"
| xargs
rm
-f
&&
\
yum clean all
# Copy scripts to entrypoint
...
...
@@ -29,10 +33,6 @@ RUN groupadd -g 1500 usafadmin
RUN
useradd usafadmin
-u
1500
-g
1500
&&
usermod
-a
-G
mysql usafadmin
RUN
chown
-R
usafadmin /var/lib/mysql
USER
usafadmin
RUN
cp
-R
/var/lib/mysql /tmp/
&&
\
find /usr/share/doc/perl-IO-Socket-SSL/certs
-name
"*.enc"
-o
-name
"*.pem"
| xargs
rm
-f
&&
\
find /usr/share/doc/perl-IO-Socket-SSL/example
-name
"*.pl"
-o
| xargs
rm
-f
&&
\
find /usr/share/doc/perl-Net-SSLeay/examples
-name
"*.pem"
| xargs
rm
-f
&&
\
chmod
-R
g-s /usr/lib64/mysql/plugin/auth_pam_tool_dir/auth_pam_tool
RUN
cp
-R
/var/lib/mysql /tmp/
ENTRYPOINT
[ "/bin/bash", "entrypoint.sh" ]
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