summarylogtreecommitdiffstats
path: root/Dockerfile
blob: 1da5c524e19c987374b50a1ee2f1ef22731a055f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM greyltc/archlinux-aur AS construction-site

RUN aur-install dogelog-node

FROM archlinux:base
COPY --from=construction-site /var/cache/foreign-pkg/*.pkg.* /tmp
RUN <<EOT
    pacman -Sy --noconfirm &&
    pacman -U --noconfirm /tmp/*.pkg.* &&
    rm /tmp/*.pkg.*
EOT

ENTRYPOINT ["node", "/usr/share/dogelog/dogelog.mjs"]