Merge branch '6045-docker-hub-official-image' of github.com:khalyomede/roc into 6045-docker-hub-official-image

This commit is contained in:
Anton-4 2023-11-22 19:41:24 +01:00
commit c698216ec7
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937
3 changed files with 48 additions and 5 deletions

View file

@ -0,0 +1,18 @@
FROM debian:buster
RUN apt-get update --fix-missing
RUN apt-get upgrade --yes
RUN apt-get install --yes wget
# you can leave out libc-dev and binutils if you don't need the REPL
RUN apt-get install --yes libc-dev binutils
RUN wget -q -O roc.tar.gz https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-old_linux_x86_64-latest.tar.gz
RUN mkdir /usr/lib/roc
RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1
ENV PATH="$PATH:/usr/lib/roc"

View file

@ -0,0 +1,8 @@
version: "3"
services:
roc:
build: .
entrypoint: roc
working_dir: /home/ubuntu/app
volumes:
- ../../:/home/ubuntu/app