Add a container for building snap

This commit is contained in:
Lee Miller 2022-05-29 06:47:45 +03:00
parent 3cbd77f194
commit eb43f2c068
Signed by untrusted user: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -57,6 +57,18 @@ ENTRYPOINT ["tox"]
###############################################################################
FROM base AS snap
RUN apt-get install -yq --no-install-suggests --no-install-recommends snapcraft
COPY . /home/builder/src
WORKDIR /home/builder/src
CMD cd packages && snapcraft && cp *.snap /dist/
###############################################################################
FROM base AS winebuild
RUN dpkg --add-architecture i386