ci: move deploy docker to debian
ci/woodpecker/push/woodpecker Pipeline failed Details

Tomáš Mládek 2023-08-11 23:46:37 +02:00
parent e862dd17f6
commit 45fa7a5fe7
2 changed files with 9 additions and 8 deletions

View File

@ -92,12 +92,6 @@ pipeline:
image: albedo.lan:5000/upend-deploy:latest
pull: true
commands:
- mkdir .ci_tmp && cd ./.ci_tmp
- wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
- chmod +x linuxdeploy-x86_64.AppImage
- ./linuxdeploy-x86_64.AppImage --appimage-extract
- ln -s $PWD/squashfs-root/AppRun /usr/local/bin/linuxdeploy-x86_64.AppImage
- cd -
- git status -vvv
- task package

View File

@ -1,2 +1,9 @@
FROM alpine:latest
RUN apk add --no-cache gnupg openssh-client
FROM debian
RUN apt-get update && apt-get -y install gnupg openssh-client wget curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
RUN wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage && \
chmod +x linuxdeploy-x86_64.AppImage && \
./linuxdeploy-x86_64.AppImage --appimage-extract && \
ln -s $PWD/squashfs-root/AppRun /usr/local/bin/linuxdeploy-x86_64.AppImage