Skip to content

Instantly share code, notes, and snippets.

@RutledgePaulV
Created February 8, 2021 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RutledgePaulV/759ffe05fcd8a74473d2a3d28c99a147 to your computer and use it in GitHub Desktop.
Save RutledgePaulV/759ffe05fcd8a74473d2a3d28c99a147 to your computer and use it in GitHub Desktop.
basic ansilove docker image. does not use a minimal distribution or evaluate checksums
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y build-essential cmake wget libgd-dev
RUN wget https://github.com/ansilove/libansilove/archive/1.2.8.tar.gz \
&& tar -xvf 1.2.8.tar.gz \
&& cd libansilove-1.2.8 \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make install \
&& cd ../../ \
&& rm -rf libansilove-1.2.8 1.2.8.tar.gz
RUN wget https://github.com/ansilove/ansilove/archive/4.1.4.tar.gz \
&& tar -xvf 4.1.4.tar.gz \
&& cd ansilove-4.1.4 \
&& mkdir build \
&& cd build \
&& cmake .. \
&& make install \
&& cd ../../ \
&& rm -rf ansilove-4.1.4 4.1.4.tar.gz
RUN /sbin/ldconfig -v
CMD ["ansilove"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment