-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
44 lines (38 loc) · 1.13 KB
/
Dockerfile
File metadata and controls
44 lines (38 loc) · 1.13 KB
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
39
40
41
42
43
44
# syntax=docker/dockerfile:1
# Runtime Stage
FROM ghcr.io/linuxserver/baseimage-selkies:arch
# set version label
ARG BUILD_DATE
ARG VERSION
ARG AZAHAR_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
ENV TITLE=Azahar \
PIXELFLUX_WAYLAND=true
RUN \
echo "**** add icon ****" && \
curl -o \
/usr/share/selkies/www/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/azahar-logo.png && \
echo "**** install packages ****" && \
pacman -Sy --noconfirm --needed \
git && \
cd /tmp && \
git clone https://aur.archlinux.org/azahar.git && \
chown -R abc:abc azahar && \
cd azahar && \
sudo -u abc makepkg -sAci --skipinteg --noconfirm --needed && \
echo "**** cleanup ****" && \
printf \
"Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" \
> /build_version && \
pacman -Scc --noconfirm && \
rm -rf \
/tmp/* \
/var/cache/pacman/pkg/* \
/var/lib/pacman/sync/*
# add local files and files from buildstage
COPY root/ /
# ports and volumes
VOLUME /config
EXPOSE 3001