Skip to content

Instantly share code, notes, and snippets.

@kingbuzzman
Last active April 26, 2022 20:25
Show Gist options
  • Save kingbuzzman/2e603426ea1e27b47005f1e5d3ecb67a to your computer and use it in GitHub Desktop.
Save kingbuzzman/2e603426ea1e27b47005f1e5d3ecb67a to your computer and use it in GitHub Desktop.
Vala Dockerfile
# 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
@kingbuzzman
Copy link
Author

kingbuzzman commented Apr 11, 2022

(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment