Sign inSign up

whw3/rpi

By whw3

Updated almost 9 years ago

Raspbian Base Image -- adds wget support missing from resin/rpi-raspbian

Image
1

1.3K

whw3/rpi repository overview

whw3/rpi

Raspbian Base Image -- adds wget support missing from resin/rpi-raspbian Also adds properly configured Timezone setup. Can be reconfigured inside container by running /root/bin/tzconfig

whw3/rpi-s6

Same Raspbian Base Image as above, but also adds s6-overlay

*** Dockerfile ***(https://github.com/whw3/baseimage)

FROM resin/rpi-raspbian
COPY rootfs /
RUN apt-install wget bash bash-completion nano git tzdata curl ca-certificates gnupg2 dirmngr
RUN cp /usr/share/zoneinfo/America/Chicago /etc/localtime && exit 0 ; exit 1
CMD ["/bin/bash"]

FROM whw3/rpi
ADD s6-overlay-$S6_VERSION-armhf.tar.gz /
COPY 01-docker-entrypoint.sh /etc/cont-init.d
RUN chmod +x /etc/cont-init.d/01-docker-entrypoint.sh
ENTRYPOINT ["/init"]

FROM whw3/rpi
RUN echo 'deb http://deb.debian.org/debian jessie-backports main' > /etc/apt/sources.list.d/backports.list

. *** 01-docker-entrypoint.sh ***

#!/usr/bin/with-contenv bash
if [[ -x /usr/local/bin/docker-entrypoint ]]; then
    exec /usr/local/bin/docker-entrypoint
elif [[ -x /docker-entrypoint ]]; then
    exec /docker-entrypoint
elif [[ -x /entrypoint.sh ]]; then
    exec /entrypoint.sh
fi

Tag summary

Content type

Image

Digest

Size

88.3 MB

Last updated

almost 9 years ago

docker pull whw3/rpi