Skip to content

Commit

Permalink
add rix to image
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rodrigues committed Jun 25, 2024
1 parent b395720 commit 7856fde
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ubuntu
IMAGE_NAME: rstats-on-nix/rix

jobs:
build-and-push-image:
Expand Down
6 changes: 5 additions & 1 deletion ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
RUN curl -O https://raw.githubusercontent.com/b-rodrigues/rix/master/inst/extdata/default.nix

RUN nix-build

CMD nix-shell

0 comments on commit 7856fde

Please sign in to comment.