···11+FROM golang:1.23 AS build
22+33+WORKDIR /app
44+55+COPY go.mod go.sum ./
66+RUN go mod download
77+88+COPY . ./
99+1010+RUN CGO_ENABLED=0 GOOS=linux go build -o /ladon .
1111+1212+FROM alpine:3 AS run
1313+1414+WORKDIR /
1515+1616+COPY --from=build /ladon /ladon
1717+1818+EXPOSE 4000
1919+ENTRYPOINT ["/ladon"]
+21
LICENSE.md
···11+MIT License
22+33+Copyright (c) 2024 Graham Barber
44+55+Permission is hereby granted, free of charge, to any person obtaining a copy
66+of this software and associated documentation files (the "Software"), to deal
77+in the Software without restriction, including without limitation the rights
88+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99+copies of the Software, and to permit persons to whom the Software is
1010+furnished to do so, subject to the following conditions:
1111+1212+The above copyright notice and this permission notice shall be included in all
1313+copies or substantial portions of the Software.
1414+1515+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121+SOFTWARE.
+4
README.md
···11+# Ladon
22+33+A dead-simple index page for your homeserver, protected via OpenID Connect.
44+