@@ -5,7 +5,7 @@ Use Coder and JFrog together to secure your development environments without dis
5
5
This guide will demonstrate how to use JFrog Artifactory as a package registry
6
6
within a workspace. We'll use Docker as the underlying compute. But, these concepts apply to any compute platform.
7
7
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 ) .
9
9
10
10
## Requirements
11
11
@@ -68,7 +68,7 @@ When pushing the template, you can pass in the variables using the `-V` flag:
68
68
coder templates push --var ' jfrog_url=https://YYY.jfrog.io' --var ' artifactory_access_token=XXX'
69
69
```
70
70
71
- ## Installing jf
71
+ ## Installing JFrog CLI
72
72
73
73
` jf ` is the JFrog CLI. It can do many things across the JFrog platform, but
74
74
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:
80
80
curl -fL https://install-cli.jfrog.io | sh
81
81
```
82
82
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/ ) .
84
84
85
85
In our Docker-based example, we install ` jf ` by adding these lines to our ` Dockerfile ` :
86
86
87
87
``` 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)
90
89
```
91
90
92
91
and use this ` coder_agent ` block:
@@ -145,7 +144,7 @@ by inserting the following lines into your `startup_script`:
145
144
/tmp/code-server/bin/code-server --install-extension /tmp/jfrog.vsix
146
145
```
147
146
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.
149
148
150
149
## Configuring npm
151
150
@@ -171,5 +170,5 @@ supported by Artifactory.
171
170
172
171
# # More reading
173
172
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).
175
174
- To serve extensions from your own VS Code Marketplace, check out [code-marketplace](https://github.com/coder/code-marketplace#artifactory-storage).
0 commit comments