Public Repository

Last pushed: a year ago
Short Description
scratch2 for kids workshop
Full Description

Association informasciences scratch2 workstation for kids workshop

Dockerfile

FROM ubuntu:trusty

RUN dpkg --add-architecture i386 && \
    echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch

RUN apt-get update && \
    apt-get install -y wget \
    gnome-keyring \
    libgnome-keyring-dev \
    libxt6:i386 \
    libnspr4-0d:i386 \
    libgtk2.0-0:i386 \
    libstdc++6:i386 \
    libnss3-1d:i386 \
    lib32nss-mdns \
    libxml2:i386 \
    libxslt1.1:i386 \
    libcanberra-gtk-module:i386 \
    gtk2-engines-murrine:i386

RUN rm -rf /var/lib/apt/lists/*

RUN ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0 /usr/lib/libgnome-keyring.so.0 && \
    ln -s /usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0 /usr/lib/libgnome-keyring.so.0.2.0

RUN useradd -ms /bin/bash geek && \
        echo "geek ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/informasciences && \
          chmod 0440 /etc/sudoers.d/informasciences

USER geek
WORKDIR /home/geek

RUN mkdir -p /home/geek/Telechargements && cd /home/geek/Telechargements && \
        wget http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRInstaller.bin && chmod +x AdobeAIRInstaller.bin && \
        wget https://scratch.mit.edu/scratchr2/static/sa/Scratch-447.air && chmod +x Scratch-447.air && \
        wget https://scratch.mit.edu/scratchr2/static/sa/Scratch2StarterProjects.zip && \
        wget https://cdn.scratch.mit.edu/scratchr2/static/__09065233d18c5dbbd527ec0c97aa7324__/pdfs/help/Getting-Started-Guide-Scratch2.pdf  && \
        wget https://cdn.scratch.mit.edu/scratchr2/static/__09065233d18c5dbbd527ec0c97aa7324__/pdfs/help/Scratch2Cards.pdf

ENV HOME /home/geek

CMD /usr/bin/scratch
Docker Pull Command
Owner
informasciences