Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Mar 26, 2024
1 parent 59d861c commit b449ac7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,25 @@ To stop the container, run:
```shell
docker stop $(docker ps | grep '0.0.0.0:8081' | awk '{print $1}')
```

To run the image with just Julia installed, execute:

```shell
docker run -it --entrypoint julia ghcr.io/insightsengineering/julia:1.10-bookworm -e 'println("Hello, world!"); for x in ARGS; println(x); end' foo bar
```

To run an interactive Julia session, execute:

```shell
docker run -it --entrypoint julia ghcr.io/insightsengineering/julia:1.10-bookworm
```

To run a shell in the Julia container, execute:

```shell
$ docker run -it --entrypoint /bin/bash ghcr.io/insightsengineering/julia:1.10-bookworm
root@4913b172f781:/# julia --version
julia version 1.10.2
root@4913b172f781:/# quarto --version
1.4.551
```
2 changes: 1 addition & 1 deletion scripts/install_sysdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ echo "PATH=$PATH" >> /etc/profile
# Set default initializer if unavailable
if [ ! -f /init ]
then {
echo "sh" > /init
echo "#!/bin/bash" > /init
chmod +x /init
}
fi

0 comments on commit b449ac7

Please sign in to comment.