diff --git a/.github/workflows/build_image.yaml b/.github/workflows/build_image.yaml index cf45c4e..ee22f4b 100644 --- a/.github/workflows/build_image.yaml +++ b/.github/workflows/build_image.yaml @@ -5,7 +5,7 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: ubuntu + IMAGE_NAME: rstats-on-nix/rix jobs: build-and-push-image: diff --git a/ubuntu/Dockerfile b/ubuntu/Dockerfile index 31e846b..b736b22 100644 --- a/ubuntu/Dockerfile +++ b/ubuntu/Dockerfile @@ -17,4 +17,8 @@ RUN curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/ # Adds Nix to the path, as described by the Determinate Systems installer's documentation ENV PATH="${PATH}:/nix/var/nix/profiles/default/bin" -CMD ["/bin/sh"] \ No newline at end of file +RUN curl -O https://raw.githubusercontent.com/b-rodrigues/rix/master/inst/extdata/default.nix + +RUN nix-build + +CMD nix-shell \ No newline at end of file