Last active
February 17, 2025 08:54
-
-
Save c4droid369/2737882910a8839cdbd319ddfcd053d8 to your computer and use it in GitHub Desktop.
Building TinTin++ Mud client
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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