Mercurial > sat_docs
view docker/pyjamas/Dockerfile @ 151:6f8c849daf2a
flatpak (build_manifest): updated org.freedesktop.Platform runtime version:
manifests were using an old 1.6 version of the runtime, this patch fixes them by using the
current 18.8 one. Thanks to that, the main_loop.patch which was made because of an
outdated version of GLib (see https://github.com/flatpak/flatpak/issues/1899) is not
needed anymore and has been removed.
Some useless extensions have also been removed from default manifest.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 26 Jun 2019 20:49:31 +0200 |
parents | 82f8982895c8 |
children |
line wrap: on
line source
############################################################### # # # Salut à Toi/Pyjamas # # This Dockerfile build an image with Pyjamas installed # # Pyjamas is a Python 2 => JS compiler used by Libervia # # # ############################################################### FROM debian:jessie MAINTAINER Goffi <goffi@goffi.org> ######## # BASE # ######## ENV DEBIAN_FRONTEND noninteractive RUN useradd -m sat RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends locales python # we want UTF-8 locale RUN sed -i "s/# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen && locale-gen ENV LC_ALL en_US.UTF-8 WORKDIR /home/sat RUN python -c 'import urllib2,tarfile,cStringIO;tar=tarfile.open(fileobj=cStringIO.StringIO(urllib2.urlopen("ftp://ftp.goffi.org/pyjamas/pyjamas.tar.bz2").read()));tar.extractall()' WORKDIR /home/sat/pyjamas RUN python bootstrap.py ENV PATH="/home/sat/pyjamas/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" WORKDIR /home/sat USER sat