Last active
April 26, 2022 20:25
-
-
Save kingbuzzman/2e603426ea1e27b47005f1e5d3ecb67a to your computer and use it in GitHub Desktop.
Vala 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
# Could not find the oficial docker file for vala lang anywhere.. made my own. | |
FROM ubuntu:latest | |
RUN apt update && \ | |
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata | |
RUN apt install -y wget build-essential flex bison libglib2.0-dev graphviz-dev | |
RUN wget https://download.gnome.org/sources/vala/0.52/vala-0.52.4.tar.xz && \ | |
tar xvf vala-0.52.4.tar.xz && \ | |
cd vala-0.52.4 && \ | |
./configure && \ | |
make && \ | |
make install && \ | |
rm -rf vala-0.52.4 vala-0.52.4.tar.xz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(temp_dockerfile=$(mktemp); curl -s https://gist.githubusercontent.com/kingbuzzman/2e603426ea1e27b47005f1e5d3ecb67a/raw/Dockerfile > $temp_dockerfile; docker build --tag vala:0.52.4 --tag vala:latest -f $temp_dockerfile $(mktemp -d))
docker run --rm -it vala:latest bash