Skip to content

Commit

Permalink
Merge pull request #69 from UoMResearchIT/bugfix
Browse files Browse the repository at this point in the history
Bugfix and small ammendments
  • Loading branch information
fherreazcue authored Oct 28, 2024
2 parents fd57c5c + 77141e2 commit 7aed7d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions episodes/dockerfiles.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,13 @@ Welcome to the Space Purple Unicorn Counter!

The `EXPORT` variable is now set to `True` by default!

::::: callout
## ARG

There is another instruction called `ARG` that is used to set variables in the `Dockerfile`.
These variables are only available during the build process, and are not saved in the image.
:::::::::::::

:::::::::::: spoiler

## Layers - continued
Expand Down
4 changes: 2 additions & 2 deletions learners/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ However, if you have installed it using this service you will need to take the f
`export TMPDIR=~/tmp`

These commands will let you use docker in the current terminal instance,
but you will have to run "export TEMPDIR=~/tmp" in every new terminal you want to use docker in.
but you will have to run "export TMPDIR=~/tmp" in every new terminal you want to use docker in.

An alternative is to append that command at the end of your bashrc file with the following command:
`echo "export TEMPDIR=~/tmp" >> ~/bashrc`
`echo "export TMPDIR=~/tmp" >> ~/bashrc`

This will configure each new instance of a terminal to run that command at the start of every new terminal instance.

Expand Down

0 comments on commit 7aed7d3

Please sign in to comment.