-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (32 loc) · 972 Bytes
/
Copy pathDockerfile
File metadata and controls
38 lines (32 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:3.22 AS builder
COPY root/ /
RUN \
apk add --no-cache \
bash \
bzip2 \
coreutils \
git \
gzip \
imagemagick \
librsvg \
pngquant \
rsvg-convert \
tar \
util-linux && \
mkdir -p \
/picons \
/usr/src/temp-output && \
rm -rf /tmp/* && \
git clone --depth 1 https://github.com/picons/picons /usr/src/picons-source && \
cp /backgrounds.conf /usr/src/picons-source/build-input/ && \
cd /usr/src/picons-source && \
./2-build-picons.sh utf8snp-full && \
tar xf \
/usr/src/picons-source/build-output/binaries-*/*hardlink*.tar.bz2 -C \
/usr/src/temp-output --strip-components=1 && \
tar -cjf /picons/picons.tar.bz2 -C /usr/src/temp-output . && \
chmod -R 777 /picons
FROM scratch
LABEL org.opencontainers.image.source="https://github.com/linuxserver/picons-builder"
COPY --from=builder /picons/picons.tar.bz2 /picons.tar.bz2