File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ install:
10
10
11
11
.PHONY : image
12
12
image :
13
- docker build -t repp:latest .
13
+ docker build -t jjtimmons/repp:latest .
14
+
15
+ image/push : image
16
+ docker push jjtimmons/repp:latest
14
17
15
18
.PHONY : test
16
19
test :
Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ See [the docs](https://lattice-automation.github.io/repp/) or `--help` for any c
29
29
Run ` repp ` via Docker:
30
30
31
31
``` sh
32
- alias repp=" docker run -i --rm -v repp:/root/.repp jjtimmons/repp:latest"
32
+ mkdir -p $HOME /.repp
33
+ alias repp=" docker run -i --rm --mount type=bind,src=$HOME /.repp,dst=/root/.repp jjtimmons/repp:latest"
33
34
repp --help
34
35
```
35
36
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ See [the docs](https://lattice-automation.github.io/repp/) or `--help` for any c
29
29
Run ` repp ` via Docker:
30
30
31
31
``` sh
32
- # alias repp="docker run -i --rm -v repp:/root/ .repp -i jjtimmons/repp:latest"
33
- alias repp=" docker run -i --rm -v repp: /root/.repp repp:latest"
32
+ mkdir -p $HOME / .repp
33
+ alias repp=" docker run -i --rm --mount type=bind,src= $HOME /. repp,dst= /root/.repp jjtimmons/ repp:latest"
34
34
repp --help
35
35
```
36
36
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ require (
8
8
github.com/mitchellh/mapstructure v1.5.0
9
9
github.com/spf13/cobra v1.4.0
10
10
github.com/spf13/viper v1.12.0
11
+ go.uber.org/zap v1.21.0
11
12
gopkg.in/yaml.v2 v2.4.0
12
13
)
13
14
@@ -28,7 +29,6 @@ require (
28
29
github.com/subosito/gotenv v1.3.0 // indirect
29
30
go.uber.org/atomic v1.9.0 // indirect
30
31
go.uber.org/multierr v1.8.0 // indirect
31
- go.uber.org/zap v1.21.0 // indirect
32
32
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
33
33
golang.org/x/text v0.3.7 // indirect
34
34
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
You can’t perform that action at this time.
0 commit comments