FROM scratch
ADD ./staging/sineware-phone-os.tar.gz /
ADD ./files/sdkinit /opt/
ADD ./files/prolinuxd.service /etc/systemd/system/
RUN echo ". /etc/profile" >> /home/plu/.bashrc
RUN sed -i '/style=system/c\style=pmsdk' /sineware.ini
CMD ["/usr/lib/systemd/systemd"]