Skip to content

Commit

Permalink
Fixed build of console due to pgp sig and redis version.
Browse files Browse the repository at this point in the history
Included the MySQL PGP signature to avoid randomly timing out when looking it up on pgp-mit-edu.
Locked down the redis version to work around the problem described in jazzband/django-redis#342
  • Loading branch information
Pedro Teixeira committed May 27, 2019
1 parent 4415153 commit 212d054
Show file tree
Hide file tree
Showing 3 changed files with 438 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ RUN apt-get update \
libgettextpo-dev \
&& rm -rf /var/lib/apt/lists/*

# Use MySQL's PGP signature from https://dev.mysql.com/doc/refman/5.7/en/checking-gpg-signature.html
COPY mysql-gpg-sig /tmp
# Install MySql libraries from MySQL apt repo
RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5 \
RUN apt-key add /tmp/mysql-gpg-sig \
&& echo "deb http://repo.mysql.com/apt/debian stretch mysql-5.7" | tee /etc/apt/sources.list.d/mysql.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
Loading

0 comments on commit 212d054

Please sign in to comment.