Skip to content

Commit

Permalink
Merge pull request #162 from sapcc/ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Apr 15, 2024
2 parents 5ef46ba + 2163205 commit 25aa62c
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions internal/dockerfile/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,23 +137,25 @@ ENTRYPOINT [ %[11]s ]
must.Succeed(os.WriteFile("Dockerfile", []byte(dockerfile), 0666))

dockerignoreLines := append([]string{
`.dockerignore`,
`/.dockerignore`,
`.DS_Store`,
`# TODO: uncomment when applications no longer use git to get version information`,
`#.git/`,
`.github/`,
`.gitignore`,
`.goreleaser.yml`,
`/.github/`,
`/.gitignore`,
`/.goreleaser.yml`,
`/*.env*`,
`.golangci.yaml`,
`build/`,
`CONTRIBUTING.md`,
`Dockerfile`,
`docs/`,
`LICENSE*`,
`Makefile.maker.yaml`,
`README.md`,
`report.html`,
`shell.nix`,
`/.golangci.yaml`,
`/.vscode/`,
`/build/`,
`/CONTRIBUTING.md`,
`/Dockerfile`,
`/docs/`,
`/LICENSE*`,
`/Makefile.maker.yaml`,
`/README.md`,
`/report.html`,
`/shell.nix`,
`/testing/`,
}, cfg.Dockerfile.ExtraIgnores...)
dockerignore := strings.Join(dockerignoreLines, "\n") + "\n"
Expand Down

0 comments on commit 25aa62c

Please sign in to comment.