Skip to content

Commit

Permalink
Fix alises for to which should have been and to for convinience. And …
Browse files Browse the repository at this point in the history
…bump up the default ubuntu version to 22.04 (#25)
  • Loading branch information
JeiKeiLim authored Jun 21, 2023
1 parent a01ed1c commit cd5789f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.5
0.1.6
10 changes: 5 additions & 5 deletions cmd/ducker/ducker.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func initDockerfile(ctx *cli.Context) {
tzname, _ := tzlocal.RuntimeTZ()

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

dockerContents += fmt.Sprintf("LABEL maintainer=\"%s <%s>\"\n\n",
Expand Down Expand Up @@ -411,9 +411,9 @@ func main() {
Usage: "Running docker image",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "docker-args",
Aliases: []string{"da"},
Usage: "Extra arguments for docker run. ex) ducker run --docker-args \"-v $PWD:/home/user/ducker\"",
Name: "args",
Aliases: []string{"a"},
Usage: "Extra arguments for docker run. ex) ducker run --args \"-v $PWD:/home/user/ducker\"",
Value: "",
DefaultText: "",
},
Expand Down Expand Up @@ -449,7 +449,7 @@ func main() {
Flags: []cli.Flag{
&cli.StringFlag{
Name: "shell",
Aliases: []string{"e"},
Aliases: []string{"s"},
Usage: "Shell type to run (bash, zsh)",
Value: "zsh",
DefaultText: "zsh",
Expand Down

0 comments on commit cd5789f

Please sign in to comment.