Skip to content

Instantly share code, notes, and snippets.

@ryochin
Created March 19, 2025 08:19
Show Gist options
  • Save ryochin/efd8bd94d6297a585d102422cb234dde to your computer and use it in GitHub Desktop.
Save ryochin/efd8bd94d6297a585d102422cb234dde to your computer and use it in GitHub Desktop.
Dockerfile: MySQL Client + grc (Generic Colouriser)
FROM mysql:8.0.32
RUN microdnf install -y python3 wget
ENV GRC_VERSION 1.12
RUN wget -q -O grc_$GRC_VERSION.tar.gz http://kassiopeia.juls.savba.sk/~garabik/software/grc/grc_$GRC_VERSION.orig.tar.gz \
&& tar xf grc_$GRC_VERSION.tar.gz \
&& cd grc-$GRC_VERSION \
&& sh ./install.sh \
&& cd .. && rm -rf grc-$GRC_VERSION
COPY grcat /etc/grcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment