Last active
January 8, 2020 22:27
-
-
Save MatrixManAtYrService/136d9b3658f841fd6a1e63695bc3e3a9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster-slim | |
RUN apt update | |
RUN apt install -y wget | |
RUN cd /root && wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.18-9/binary/debian/buster/x86_64/percona-server-common_8.0.18-9-1.buster_amd64.deb | |
RUN cd /root && wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.18-9/binary/debian/buster/x86_64/percona-server-client_8.0.18-9-1.buster_amd64.deb | |
RUN apt install -y /root/percona-server-common_8.0.18-9-1.buster_amd64.deb | |
RUN apt install -y /root/percona-server-client_8.0.18-9-1.buster_amd64.deb | |
COPY ./entrypoint /root/entrypoint | |
RUN chmod +x /root/entrypoint | |
ENTRYPOINT /root/entrypoint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster-slim | |
RUN apt update | |
RUN apt install -y wget | |
RUN cd /root && wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.18-9/binary/debian/buster/x86_64/percona-server-common_8.0.18-9-1.buster_amd64.deb | |
RUN cd /root && wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.18-9/binary/debian/buster/x86_64/percona-server-client_8.0.18-9-1.buster_amd64.deb | |
RUN apt install -y /root/percona-server-common_8.0.18-9-1.buster_amd64.deb | |
RUN apt install -y /root/percona-server-client_8.0.18-9-1.buster_amd64.deb | |
COPY ./entrypoint /root/entrypoint | |
RUN chmod +x /root/entrypoint | |
RUN sed -i 's/TLSv1.2/TLSv1/' /etc/ssl/openssl.cnf # <------ This is the new addition | |
ENTRYPOINT /root/entrypoint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
mysql -u'user' -p'password' -h'hostname' --ssl-cipher=DHE-RSA-AES256-SHA -e'select "Hello World";' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stretch: ERROR 1045 (28000): Access denied for user 'user'@'::ffff:1.2.3.4' (using password: NO) | |
Buster: ERROR 2026 (HY000): SSL connection error: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol | |
Buster (downgraded): ERROR 2026 (HY000): SSL connection error: error:141A318A:SSL routines:tls_process_ske_dhe:dh key too small |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:stretch-slim | |
RUN apt update | |
RUN apt install -y wget | |
RUN cd /root \ | |
&& wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.18-9/binary/debian/stretch/x86_64/percona-server-common_8.0.18-9-1.stretch_amd64.deb | |
RUN cd /root \ | |
&& wget https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.18-9/binary/debian/stretch/x86_64/percona-server-client_8.0.18-9-1.stretch_amd64.deb | |
RUN apt install -y /root/percona-server-common_8.0.18-9-1.stretch_amd64.deb | |
RUN apt install -y /root/percona-server-client_8.0.18-9-1.stretch_amd64.deb | |
COPY ./entrypoint /root/entrypoint | |
RUN chmod +x /root/entrypoint | |
ENTRYPOINT /root/entrypoint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment