Skip to content

Instantly share code, notes, and snippets.

@c4droid369
Last active February 17, 2025 08:54
Show Gist options
  • Select an option

  • Save c4droid369/2737882910a8839cdbd319ddfcd053d8 to your computer and use it in GitHub Desktop.

Select an option

Save c4droid369/2737882910a8839cdbd319ddfcd053d8 to your computer and use it in GitHub Desktop.
Building TinTin++ Mud client
# Prepare environment
FROM alpine:latest
RUN sed -i 's#https\?://dl-cdn.alpinelinux.org/alpine#https://mirrors.tuna.tsinghua.edu.cn/alpine#g' /etc/apk/repositories
RUN apk update && \
apk upgrade && \
apk add --no-cache build-base pcre-dev zlib-dev gnutls-dev make git
# Building TinTin++
RUN git clone --depth 1 -b 2.02.42 https://github.com/scandum/tintin /tintin
WORKDIR /tintin/src
RUN ./configure --prefix=/usr && \
make -j$(nproc) -l$(nproc) && \
make install
WORKDIR /
CMD [ "tt++" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment