Move appimage to its own image
This commit is contained in:
parent
0d3543971d
commit
4892321dfd
6 changed files with 29 additions and 21 deletions
22
AppImage/Dockerfile
Normal file
22
AppImage/Dockerfile
Normal file
|
@ -0,0 +1,22 @@
|
|||
FROM git.zontreck.com/ariascreations/buildenvironments:flutter
|
||||
|
||||
|
||||
|
||||
# Install AppImage Builder
|
||||
RUN apt-get install -y python3-pip
|
||||
WORKDIR /root/.config/pip
|
||||
ADD pip.conf .
|
||||
WORKDIR /
|
||||
RUN python3 -m pip install --upgrade pip
|
||||
RUN pip3 install appimage-builder
|
||||
|
||||
# Install appimagetool AppImage
|
||||
RUN wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool
|
||||
|
||||
# workaround AppImage issues with Docker
|
||||
RUN cd /opt/; chmod +x appimagetool; sed -i 's|AI\x02|\x00\x00\x00|' appimagetool; ./appimagetool --appimage-extract
|
||||
RUN mv /opt/squashfs-root /opt/appimagetool.AppDir
|
||||
RUN ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool
|
||||
|
||||
# Install AppImage requirements
|
||||
RUN apt-get install -y squashfs-tools zsync
|
|
@ -17,23 +17,3 @@ RUN git config --global user.name "zontreck"
|
|||
RUN git config --global user.email "tarapiccari@gmail.com"
|
||||
|
||||
WORKDIR /
|
||||
|
||||
|
||||
# Install AppImage Builder
|
||||
RUN apt-get install -y python3-pip
|
||||
WORKDIR /root/.config/pip
|
||||
ADD pip.conf .
|
||||
WORKDIR /
|
||||
RUN python3 -m pip install --upgrade pip
|
||||
RUN pip3 install appimage-builder
|
||||
|
||||
# Install appimagetool AppImage
|
||||
RUN wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /opt/appimagetool
|
||||
|
||||
# workaround AppImage issues with Docker
|
||||
RUN cd /opt/; chmod +x appimagetool; sed -i 's|AI\x02|\x00\x00\x00|' appimagetool; ./appimagetool --appimage-extract
|
||||
RUN mv /opt/squashfs-root /opt/appimagetool.AppDir
|
||||
RUN ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool
|
||||
|
||||
# Install AppImage requirements
|
||||
RUN apt-get install -y squashfs-tools zsync
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM git.zontreck.com/ariascreations/buildenvironments:flutter
|
||||
FROM git.zontreck.com/ariascreations/buildenvironments:appimage
|
||||
|
||||
COPY ./agent.secret /agent.secret
|
||||
|
||||
|
|
|
@ -13,6 +13,9 @@ docker push git.zontreck.com/ariascreations/buildenvironments:adk
|
|||
docker build -t git.zontreck.com/ariascreations/buildenvironments:flutter FlutterSdk
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:flutter
|
||||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:appimage AppImage
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:appimage
|
||||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:linuxfs FirestormLinux
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:linuxfs
|
||||
|
||||
|
|
3
build.sh
3
build.sh
|
@ -12,6 +12,9 @@ docker push git.zontreck.com/ariascreations/buildenvironments:adk
|
|||
docker build -t git.zontreck.com/ariascreations/buildenvironments:flutter FlutterSdk
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:flutter
|
||||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:appimage AppImage
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:appimage
|
||||
|
||||
docker build -t git.zontreck.com/ariascreations/buildenvironments:firestormlinux FirestormLinux
|
||||
docker push git.zontreck.com/ariascreations/buildenvironments:firestormlinux
|
||||
|
||||
|
|
Loading…
Reference in a new issue