Skip to content

Commit

Permalink
Fix Bug Report and Dockerfile for Alpine SSL Certificates (#18)
Browse files Browse the repository at this point in the history
* Fix markdown style format
* Define alpine as alpine cert
  • Loading branch information
Searge committed Nov 18, 2023
1 parent fdd872f commit 91f7f3a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
17 changes: 10 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,15 +25,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
A clear and concise description of what the problem is. Ex. I'm always frustrated when ...

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
Expand Down
4 changes: 3 additions & 1 deletion build/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RUN go install github.com/go-task/task/v3/cmd/task@latest \
&& go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest \
&& task install && task build

FROM alpine:latest AS alpine-cert

FROM scratch

LABEL org.opencontainers.image.title="GeekBot"
Expand All @@ -21,6 +23,6 @@ LABEL org.opencontainers.image.licenses Apache-2.0

WORKDIR /
COPY --from=builder /go/src/app/build/package/geekbot-* ./geekbot
COPY --from=alpine:latest /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=alpine-cert /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

ENTRYPOINT ["./geekbot", "start"]

0 comments on commit 91f7f3a

Please sign in to comment.