urbit dockerfile
This file contains 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
FROM alpine:latest | |
ENV TERM="vt100" \ | |
APK="apk add --no-cache" \ | |
EDGEREPO="http://dl-3.alpinelinux.org/alpine/edge/testing" | |
WORKDIR /root | |
RUN $APK bash curl-dev gmp-dev libuv-dev ncurses-dev openssl-dev \ | |
&& $APK --virtual .build-deps apk-tools file git g++ meson re2c \ | |
&& $APK --repository $EDGEREPO libsigsegv-dev \ | |
&& git clone --depth=1 --branch meson-build-clean https://github.com/mikolajpp/urbit \ | |
&& cd urbit \ | |
&& git submodule update \ | |
&& meson ../build \ | |
&& cd ../build \ | |
&& ninja \ | |
&& ln -s "$(pwd)/urbit" /usr/local/bin \ | |
&& rm -rf /root/urbit \ | |
&& apk del .build-deps | |
ENTRYPOINT [ "/usr/local/bin/urbit" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment