Skip to content

Commit bddc1de

Browse files
committed
Update Dockerfile for cgapp v2.0.0
1 parent 9406760 commit bddc1de

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Please DO NOT use it for build a normal Docker image for Create Go App CLI!
22
# This Dockerfile used ONLY with GoReleaser project (`task release [TAG...]`).
33

4-
FROM alpine:3.12
4+
FROM alpine:edge
55

66
LABEL maintainer="Vic Shóstak <[email protected]>"
77

cmd/create.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ func runCreateCmd(cmd *cobra.Command, args []string) error {
8484
return cgapp.ShowError(err.Error())
8585
}
8686

87-
// Cleanup project.
88-
cgapp.RemoveFolders("frontend", []string{".git", ".github"})
89-
9087
// Show success report.
9188
cgapp.ShowMessage(
9289
"success",
@@ -143,11 +140,6 @@ func runCreateCmd(cmd *cobra.Command, args []string) error {
143140
proxyList = []string{"traefik"}
144141
}
145142

146-
// Set unused proxy role.
147-
if frontend == "none" {
148-
proxyList = append(proxyList, "frontend")
149-
}
150-
151143
// Delete unused proxy and/or frontend roles.
152144
cgapp.RemoveFolders("roles", proxyList)
153145

0 commit comments

Comments
 (0)