Skip to content

Commit de60bff

Browse files
authored
chore(docs): small fixes in JFrog integration docs (coder#8736)
1 parent edd9628 commit de60bff

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/platforms/jfrog.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Use Coder and JFrog together to secure your development environments without dis
55
This guide will demonstrate how to use JFrog Artifactory as a package registry
66
within a workspace. We'll use Docker as the underlying compute. But, these concepts apply to any compute platform.
77

8-
The full example template can be found [here](https://github.com/coder/coder/tree/main/examples/jfrog-docker).
8+
The full example template can be found [here](https://github.com/coder/coder/tree/main/examples/templates/jfrog-docker).
99

1010
## Requirements
1111

@@ -68,7 +68,7 @@ When pushing the template, you can pass in the variables using the `-V` flag:
6868
coder templates push --var 'jfrog_url=https://YYY.jfrog.io' --var 'artifactory_access_token=XXX'
6969
```
7070

71-
## Installing jf
71+
## Installing JFrog CLI
7272

7373
`jf` is the JFrog CLI. It can do many things across the JFrog platform, but
7474
we'll focus on its ability to configure package managers, as that's the relevant
@@ -80,13 +80,12 @@ The generic method of installing the JFrog CLI is the following command:
8080
curl -fL https://install-cli.jfrog.io | sh
8181
```
8282

83-
Other methods are listed [here](https://jfrog.com/help/r/jfrog-cli/download-and-installation).
83+
Other methods are listed [here](https://jfrog.com/getcli/).
8484

8585
In our Docker-based example, we install `jf` by adding these lines to our `Dockerfile`:
8686

8787
```Dockerfile
88-
RUN curl -fL https://install-cli.jfrog.io | sh
89-
RUN chmod 755 $(which jf)
88+
RUN curl -fL https://install-cli.jfrog.io | sh && chmod 755 $(which jf)
9089
```
9190

9291
and use this `coder_agent` block:
@@ -145,7 +144,7 @@ by inserting the following lines into your `startup_script`:
145144
/tmp/code-server/bin/code-server --install-extension /tmp/jfrog.vsix
146145
```
147146

148-
Note that this will method will only work if your developers use code-server.
147+
Note that this method will only work if your developers use code-server.
149148

150149
## Configuring npm
151150

@@ -171,5 +170,5 @@ supported by Artifactory.
171170
172171
## More reading
173172
174-
- See the full example template [here](https://github.com/coder/coder/tree/main/examples/jfrog-docker).
173+
- See the full example template [here](https://github.com/coder/coder/tree/main/examples/templates/jfrog-docker).
175174
- To serve extensions from your own VS Code Marketplace, check out [code-marketplace](https://github.com/coder/code-marketplace#artifactory-storage).

0 commit comments

Comments
 (0)