Skip to content

Instantly share code, notes, and snippets.

@amalbuquerque
Created February 19, 2019 23:00
Show Gist options
  • Save amalbuquerque/caeb3a5c8b19a31c9e965f6438ccc8ae to your computer and use it in GitHub Desktop.
Save amalbuquerque/caeb3a5c8b19a31c9e965f6438ccc8ae to your computer and use it in GitHub Desktop.
❯ cat Dockerfile
FROM rust:1.19.0
WORKDIR /var/code/alacritty
RUN apt-get update && apt-get install cmake libfreetype6-dev libfontconfig1-dev xclip -y
RUN rustup override set stable && rustup update stable
❯ cat docker_build.sh
docker build . -t alacritty_build_env
❯ cat docker_run.sh
docker run --mount type=bind,src=/home/andre/projs/personal/alacritty,target=/var/code/alacritty -i -t alacritty_build_env:latest bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment