Last active
January 17, 2021 06:34
-
-
Save azriel91/b150de9e1362c63fc24e8e5e693b5866 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Unfortunately the Pinta compiled by this docker image seems to crash with memory errors. | |
# Use the official image as a parent image | |
FROM ubuntu:20.04 | |
RUN apt update -y | |
RUN apt upgrade -y | |
RUN export DEBIAN_FRONTEND=noninteractive && ln -fs /usr/share/zoneinfo/Pacific/Auckland /etc/localtime && apt install -y tzdata build-essential mono-complete mono-devel pkg-config apt-utils mono-xbuild automake autoconf yelp-tools intltool libglib2.0-cil-dev libgtk2.0-cil-dev && dpkg-reconfigure --frontend noninteractive tzdata | |
# Set the working directory | |
WORKDIR /usr/src/pinta | |
# Copy Pinta repository | |
COPY Pinta . | |
# Set the working directory | |
WORKDIR /usr/src/pinta/ | |
RUN /usr/src/pinta/autogen.sh --prefix=/home/azriel/apps/Pinta && make && make install | |
RUN ls /home/azriel/apps/Pinta && echo 1 | |
RUN ls /home/azriel/apps/Pinta/bin && echo 2 | |
RUN ls /home/azriel/apps/Pinta/lib && echo 3 | |
RUN ls /home/azriel/apps/Pinta/share && echo 4 | |
# docker image ls | |
# docker container create -a STDIN -a STDOUT -a STDERR -i <image_id> /bin/bash | |
# docker container ls | |
# docker cp <container_id>:/home/azriel/apps/Pinta /home/azriel/apps/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment