Skip to content

Commit

Permalink
fix: gpg key for sql repo in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
PredatorCZ committed Jun 19, 2024
1 parent c7dbcf9 commit bde9229
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/db/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM mysql:5.7.42-debian
MAINTAINER Seznam.cz a.s.
LABEL maintainer="Seznam.cz a.s."

WORKDIR /
ENV MYSQL_ROOT_PASSWORD password
ADD test_database.sql /docker-entrypoint-initdb.d/

# Tests require us to restart running mysql instance. To this end, we will
# install and configure supervisord.
RUN apt-get update || apt-get install -y wget
RUN wget -O - https://repo.mysql.com/RPM-GPG-KEY-mysql-2023 | gpg --dearmor > /etc/apt/keyrings/mysql.gpg
RUN \
apt-get update && apt-get install -y \
patch \
Expand Down

0 comments on commit bde9229

Please sign in to comment.