Skip to content

Commit

Permalink
Adds periods to the end of each list line, as each line is a complete…
Browse files Browse the repository at this point in the history
… sentence
  • Loading branch information
dr0er committed Oct 16, 2024
1 parent 92c262d commit 7c014c6
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
title: Persisting environment variables and temporary files
intro: You can configure custom environment variables so that they are set to the same value every time you open a codespace. You can also ensure that temporary files are not deleted when a codespace stops.
versions:
fpt: '*'
ghec: '*'
fpt: "*"
ghec: "*"
type: how_to
topics:
- Codespaces
Expand All @@ -30,19 +30,19 @@ After you save the change to this file, the value will be set the next time you

There are three ways that you can set persistent custom environment variables for all codespaces that you create for a repository:

* You can edit the `devcontainer.json` configuration file for the repository
* You can use a custom Dockerfile
* You can use development environment secrets
* You can edit the `devcontainer.json` configuration file for the repository.
* You can use a custom Dockerfile.
* You can use development environment secrets.

#### Edit the `devcontainer.json` configuration file for the repository

Edit the `devcontainer.json` configuration file for the repository, and use the `remoteEnv` property to set the environment variable value:

```json
{
"remoteEnv": {
"VARNAME": "value"
}
"remoteEnv": {
"VARNAME": "value"
}
}
```

Expand Down

0 comments on commit 7c014c6

Please sign in to comment.