mirror of
https://github.com/10h30/lookbusy-docker.git
synced 2026-05-12 15:21:21 +09:00
e627cf1708
Replace ubuntu with alpine base image to reduce docker image size from 450MB to 10MB
11 lines
282 B
Docker
11 lines
282 B
Docker
FROM alpine:3.14
|
|
WORKDIR /app
|
|
|
|
RUN apk update
|
|
RUN apk add --no-cache cmake build-base git && \
|
|
git clone https://github.com/10h30/lookbusy.git && \
|
|
cd lookbusy && chmod +x ./configure && ./configure && make && \
|
|
apk del build-base git cmake
|
|
|
|
CMD ["sh", "/app/start.sh"]
|