Skip to content

Instantly share code, notes, and snippets.

@marcelocra
Created March 12, 2023 15:14
Show Gist options
  • Save marcelocra/b997ceadf02ee052d22902cb5508b19e to your computer and use it in GitHub Desktop.
Save marcelocra/b997ceadf02ee052d22902cb5508b19e to your computer and use it in GitHub Desktop.
Run Portacle (for Common Lisp development) from a Docker container
# syntax=docker/dockerfile:1
FROM ubuntu:22.04
# Update and install essentials.
RUN apt-get update
RUN apt-get install -y wget git tmux ripgrep curl unzip neovim less xz-utils fontconfig
RUN fc-cache -f -v
# Portacle.
WORKDIR /home/linus
RUN wget https://github.com/portacle/portacle/releases/download/1.4/lin-portacle.tar.xz
RUN tar -xf lin-portacle.tar.xz
ENV TERM=xterm
ENV PATH=$PATH:/home/linus/portacle
WORKDIR /workspace/
CMD [ "portacle.run", "emacs", "-nw" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment