Skip to content

Commit

Permalink
Remove picfit ghcr-hosted image (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
fitztrev authored Feb 6, 2025
1 parent 3923b57 commit 572d137
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 76 deletions.
59 changes: 0 additions & 59 deletions .github/workflows/picfit-image.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ settings.toml

.metals
ran_as_gitpod_prebuild

# picfit-generated files
docker/assets/*.webp
16 changes: 0 additions & 16 deletions docker/picfit-image.Dockerfile

This file was deleted.

17 changes: 16 additions & 1 deletion docker/picfit.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
FROM ghcr.io/lichess-org/lila-docker/picfit:0.14.0
# Build stage
FROM golang:1.23.6-alpine3.21 AS build

RUN apk --no-cache add g++ gcc make \
&& wget https://github.com/thoas/picfit/archive/refs/tags/0.15.1.zip \
&& unzip 0.15.1.zip \
&& mv picfit-0.15.1 /picfit

WORKDIR /picfit

RUN make build

# Runtime stage
FROM alpine:3.21

COPY --from=build /picfit/bin/picfit /picfit

COPY assets/coach.png /uploads/coach.png
COPY assets/streamer.png /uploads/streamer.png
Expand Down

0 comments on commit 572d137

Please sign in to comment.