Skip to content

Commit

Permalink
Fix: Use alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibi Chakravarthy committed Dec 11, 2018
1 parent eae9692 commit e425cee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu
FROM alpine

RUN apt-get upgrade -y && apt-get update -y
RUN apk update && apk --no-cache add curl && apk add --no-cache bash

RUN mkdir -p /oidc-mock

Expand Down
4 changes: 3 additions & 1 deletion internal/entrypoint/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ func StartServer(cfg *Configuration) {

go func() {
if err := http.ListenAndServeTLS(cfg.ServerPort, ".data/system.crt", ".data/system.key", r); err != nil {
log.Fatal("error starting server", err)
zap.L().Fatal("Unable to start server",
zap.String("port", cfg.ServerPort),
zap.Error(err))
}
}()

Expand Down

0 comments on commit e425cee

Please sign in to comment.