diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1036b1a202..64858aadae 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -20,8 +20,6 @@ jobs: - name: Run hello world test run: docker-compose -f docker/nightly-ubuntu-latest/docker-compose.yml run roc examples/helloWorld.roc - - name: Run C platform test - run: docker-compose -f docker/nightly-ubuntu-latest/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc nightly-ubuntu-2204: name: nightly-ubuntu-2204 @@ -39,9 +37,6 @@ jobs: - name: Run hello world test run: docker-compose -f docker/nightly-ubuntu-2204/docker-compose.yml run roc examples/helloWorld.roc - - name: Run C platform test - run: docker-compose -f docker/nightly-ubuntu-2204/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc - nightly-ubuntu-2004: name: nightly-ubuntu-2004 runs-on: [ubuntu-20.04] @@ -58,9 +53,6 @@ jobs: - name: Run hello world test run: docker-compose -f docker/nightly-ubuntu-2004/docker-compose.yml run roc examples/helloWorld.roc - - name: Run C platform test - run: docker-compose -f docker/nightly-ubuntu-2004/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc - nightly-debian-latest: name: nightly-debian-latest runs-on: [ubuntu-20.04] @@ -77,9 +69,6 @@ jobs: - name: Run hello world test run: docker-compose -f docker/nightly-debian-latest/docker-compose.yml run roc examples/helloWorld.roc - - name: Run C platform test - run: docker-compose -f docker/nightly-debian-latest/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc - nightly-debian-bookworm: name: nightly-debian-bookworm runs-on: [ubuntu-20.04] @@ -95,6 +84,3 @@ jobs: - name: Run hello world test run: docker-compose -f docker/nightly-debian-bookworm/docker-compose.yml run roc examples/helloWorld.roc - - - name: Run C platform test - run: docker-compose -f docker/nightly-debian-bookworm/docker-compose.yml run roc examples/platform-switching/rocLovesC.roc diff --git a/docker/nightly-debian-bookworm/Dockerfile b/docker/nightly-debian-bookworm/Dockerfile index 60008b39b0..1e5ad905f0 100644 --- a/docker/nightly-debian-bookworm/Dockerfile +++ b/docker/nightly-debian-bookworm/Dockerfile @@ -2,15 +2,16 @@ FROM debian:bookworm RUN apt-get update --fix-missing RUN apt-get upgrade --yes -RUN apt-get install --yes \ - wget \ - libc-dev \ - binutils \ - build-essential \ - clang + +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-linux_x86_64-latest.tar.gz + RUN mkdir /usr/lib/roc -# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved. + RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1 ENV PATH="$PATH:/usr/lib/roc" diff --git a/docker/nightly-debian-latest/Dockerfile b/docker/nightly-debian-latest/Dockerfile index 368f53b8df..d2bab43987 100644 --- a/docker/nightly-debian-latest/Dockerfile +++ b/docker/nightly-debian-latest/Dockerfile @@ -2,15 +2,16 @@ FROM debian:latest RUN apt-get update --fix-missing RUN apt-get upgrade --yes -RUN apt-get install --yes \ - wget \ - libc-dev \ - binutils \ - build-essential \ - clang + +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-linux_x86_64-latest.tar.gz + RUN mkdir /usr/lib/roc -# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved. + RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1 ENV PATH="$PATH:/usr/lib/roc" diff --git a/docker/nightly-ubuntu-2004/Dockerfile b/docker/nightly-ubuntu-2004/Dockerfile index 483afc2d5c..81a047e860 100644 --- a/docker/nightly-ubuntu-2004/Dockerfile +++ b/docker/nightly-ubuntu-2004/Dockerfile @@ -2,15 +2,16 @@ FROM ubuntu:20.04 RUN apt-get update --fix-missing RUN apt-get upgrade --yes -RUN apt-get install --yes \ - wget \ - libc-dev \ - binutils \ - build-essential \ - clang + +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-linux_x86_64-latest.tar.gz + RUN mkdir /usr/lib/roc -# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved. + RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1 ENV PATH="$PATH:/usr/lib/roc" diff --git a/docker/nightly-ubuntu-2204/Dockerfile b/docker/nightly-ubuntu-2204/Dockerfile index 70349434da..fab49301bc 100644 --- a/docker/nightly-ubuntu-2204/Dockerfile +++ b/docker/nightly-ubuntu-2204/Dockerfile @@ -2,15 +2,16 @@ FROM ubuntu:22.04 RUN apt-get update --fix-missing RUN apt-get upgrade --yes -RUN apt-get install --yes \ - wget \ - libc-dev \ - binutils \ - build-essential \ - clang + +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-linux_x86_64-latest.tar.gz + RUN mkdir /usr/lib/roc -# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved. + RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1 ENV PATH="$PATH:/usr/lib/roc" diff --git a/docker/nightly-ubuntu-latest/Dockerfile b/docker/nightly-ubuntu-latest/Dockerfile index 3a8a59bf47..fa65a87928 100644 --- a/docker/nightly-ubuntu-latest/Dockerfile +++ b/docker/nightly-ubuntu-latest/Dockerfile @@ -2,15 +2,16 @@ FROM ubuntu:latest RUN apt-get update --fix-missing RUN apt-get upgrade --yes -RUN apt-get install --yes \ - wget \ - libc-dev \ - binutils \ - build-essential \ - clang + +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-linux_x86_64-latest.tar.gz + RUN mkdir /usr/lib/roc -# --strip-components=1 not needed once https://github.com/roc-lang/roc/issues/4118 is solved. + RUN tar -xvz -f roc.tar.gz --directory /usr/lib/roc --strip-components=1 ENV PATH="$PATH:/usr/lib/roc"