forked from sergiotarxz/AletaReleaser
Adding initial releaser.
This commit is contained in:
parent
3a3bf6c2f2
commit
45a26af367
|
@ -0,0 +1,3 @@
|
|||
[submodule "aleta"]
|
||||
path = aleta
|
||||
url = https://gitea.sergiotarxz.freemyip.com/germedeb/aleta-postre
|
|
@ -0,0 +1,16 @@
|
|||
FROM alpine:edge
|
||||
|
||||
RUN apk update
|
||||
RUN apk add inkscape
|
||||
RUN apk add git
|
||||
RUN apk add shadow
|
||||
RUN useradd -m aleta -d /var/lib/aleta
|
||||
RUN apk add bash
|
||||
RUN apk add parallel
|
||||
COPY generate_release.sh /var/lib/aleta/
|
||||
COPY aleta /var/lib/aleta/aleta
|
||||
RUN chown -R aleta /var/lib/aleta/aleta
|
||||
RUN mkdir /var/lib/aleta/output
|
||||
|
||||
USER aleta
|
||||
CMD bash ~/generate_release.sh
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 8d27a543d1bcea72b92b3a7be487affbd2dce265
|
|
@ -0,0 +1,7 @@
|
|||
cd $(dirname $0)
|
||||
if [ -e output ]; then
|
||||
rm -rf output
|
||||
fi
|
||||
mkdir output
|
||||
sudo docker build --no-cache -t aletareleaser:latest .
|
||||
sudo docker run -v $(realpath output):/var/lib/aleta/output --rm -it aletareleaser
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd $HOME/aleta
|
||||
|
||||
echo 'will cite' | parallel --bibtex
|
||||
|
||||
bash tasks/build.sh
|
||||
|
||||
tar -C ~/.icons -czvf ~/output/result.tar.gz aleta
|
Loading…
Reference in New Issue