mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 08:33:00 -06:00
Fixed Docker container being too big
This commit is contained in:
parent
6fa2b484ad
commit
4f3b77e87f
|
|
@ -9,7 +9,7 @@ RUN mkdir -p /app/data && \
|
||||||
cd server && \
|
cd server && \
|
||||||
go build -o ../rdio-scanner && \
|
go build -o ../rdio-scanner && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -fr server && \
|
rm -fr server /root/.cache /root/go && \
|
||||||
apk del .build && \
|
apk del .build && \
|
||||||
apk --no-cache --no-progress add ffmpeg tzdata
|
apk --no-cache --no-progress add ffmpeg tzdata
|
||||||
VOLUME [ "/app/data" ]
|
VOLUME [ "/app/data" ]
|
||||||
|
|
|
||||||
3
Makefile
3
Makefile
|
|
@ -38,7 +38,8 @@ clean:
|
||||||
@rm -fr client/node_modules dist server/webapp
|
@rm -fr client/node_modules dist server/webapp
|
||||||
|
|
||||||
container: webapp linux-amd64
|
container: webapp linux-amd64
|
||||||
@podman build --format docker --platform linux/amd64,linux/arm,linux/arm64 --manifest rdio-scanner:latest-beta .
|
@podman build --platform linux/amd64,linux/arm,linux/arm64 --manifest rdio-scanner:latest-beta .
|
||||||
|
@podman manifest push --format v2s2 localhost/rdio-scanner:latest-beta docker://docker.io/chuot/rdio-scanner:latest-beta
|
||||||
|
|
||||||
dist: darwin freebsd linux windows
|
dist: darwin freebsd linux windows
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue