Skip to content

Commit cd5789f

Browse files
authored
Fix alises for to which should have been and to for convinience. And bump up the default ubuntu version to 22.04 (#25)
1 parent a01ed1c commit cd5789f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.5
1+
0.1.6

cmd/ducker/ducker.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func initDockerfile(ctx *cli.Context) {
229229
tzname, _ := tzlocal.RuntimeTZ()
230230

231231
// TODO(jeikeilim): Add custom base image support
232-
dockerBaseImage := "ubuntu:bionic"
232+
dockerBaseImage := "ubuntu:22.04"
233233
dockerContents := fmt.Sprintf("FROM %s\n\n", dockerBaseImage)
234234

235235
dockerContents += fmt.Sprintf("LABEL maintainer=\"%s <%s>\"\n\n",
@@ -411,9 +411,9 @@ func main() {
411411
Usage: "Running docker image",
412412
Flags: []cli.Flag{
413413
&cli.StringFlag{
414-
Name: "docker-args",
415-
Aliases: []string{"da"},
416-
Usage: "Extra arguments for docker run. ex) ducker run --docker-args \"-v $PWD:/home/user/ducker\"",
414+
Name: "args",
415+
Aliases: []string{"a"},
416+
Usage: "Extra arguments for docker run. ex) ducker run --args \"-v $PWD:/home/user/ducker\"",
417417
Value: "",
418418
DefaultText: "",
419419
},
@@ -449,7 +449,7 @@ func main() {
449449
Flags: []cli.Flag{
450450
&cli.StringFlag{
451451
Name: "shell",
452-
Aliases: []string{"e"},
452+
Aliases: []string{"s"},
453453
Usage: "Shell type to run (bash, zsh)",
454454
Value: "zsh",
455455
DefaultText: "zsh",

0 commit comments

Comments
 (0)