Public Repository

Last pushed: a month ago
Short Description
Base image for the Raspberry Pi. Contains both wheezy(stable) and jessie(testing) tags. As this is a base image there is no Dockerfile from which it was created.
Full Description

Full description is empty for this repo.

Docker Pull Command
Owner
resin

Comments (33)
mkglitz
20 days ago

Having an issue with apt-get update. produces the following error:

Get:1 http://archive.raspbian.org wheezy Release.gpg [473 B]
Get:2 http://archive.raspbian.org wheezy Release [14.4 kB]
Get:3 http://archive.raspbian.org wheezy/main armhf Packages [9591 kB]
Get:4 http://archive.raspberrypi.org wheezy Release.gpg [473 B]
Get:5 http://archive.raspberrypi.org wheezy Release [17.6 kB]
Get:6 http://archive.raspberrypi.org wheezy/main armhf Packages [145 kB]
Get:7 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release.gpg [1342 B]
Get:8 http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release [1342 B]
Ign http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release
E: GPG error: http://resin-packages.s3-website-us-east-1.amazonaws.com resin Release: The following signatures were invalid: NODATA 1 NODATA 2
santafeng
a month ago

Set the base image

FROM resin/rpi-raspbian:latest

File Author / Maintainer

MAINTAINER ZhiFeng Li

BEGIN INSTALLATION

Install oracle-java8-jdk curl

RUN apt-get update && apt-get install -y oracle-java8-jdk && apt-get install -y curl && apt-get install -y openssh-server && apt-get install -y wget
RUN cd /tmp && curl -L 'https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.11/bin/apache-tomcat-8.5.11.tar.gz' | tar -zx
RUN mv /tmp/apache-tomcat-8.5.11/ /opt/tomcat8/
RUN wget http://mirrors.jenkins.io/war-stable/latest/jenkins.war
RUN mv jenkins.war /opt/tomcat8/webapps/

        #apt-get -y clean

ENV CATALINA_HOME /opt/tomcat8
ENV PATH $PATH:$CATALINA_HOME/bin

Copy start script

#COPY files/start-nginx.sh /opt/
ADD sh/tomcat8.sh /etc/init.d/tomcat8
RUN chmod 755 /etc/init.d/tomcat8
RUN update-rc.d tomcat8 defaults

IMAGE CONFIGURATION

Expose HTTP & HTTPS

EXPOSE 8080 443

Update (optional) & start nginx

#CMD ["bash", "/opt/tomcat8/bin/startup.sh"]

Define default command.

#ENTRYPOINT sh /opt/tomcat8/bin/startup.sh && tail -f /opt/tomcat8/logs/catalina.out
ENTRYPOINT sh /usr/bin/entry.sh
CMD ["/bin/bash", "service tomcat8 start"]

2017-01-25T03:14:15.624948412Z Command not found:

thks all !!

huhlig
4 months ago

tag jessie-20160831 works but tag latest still doesn't.

nghiant2710
4 months ago

The issue with bash is resolved on the latest image

gustavobenn
5 months ago

The bash still not work in the latest jessie. How can I fix this? :(

ryansch
5 months ago

I just ran in to the bash bug as well on a fresh install of hypriot. Using jessie-20160831 seems to work just fine.

nghiant2710
5 months ago

hey @alexellis2, we're sorry for the breaking change. You can use this tag jessie-20160831, that tag doesn't have the latest change that breaks your code

alexellis2
5 months ago

Bash fails to launch on the RPi with ARMv6 and Raspbian? This used to work OK.

docker run -ti resin/rpi-raspbian /bin/bash
docker run -ti resin/rpi-raspbian:jessie /bin/bash

No error is given.

puckettjw
7 months ago

@djdefi,

I understand that is ARM, but I thought that the entire purpose of it was to have it running via emu in a docker on x86? That way you can use it to run your test?

Are you saying that it is a docker image to only run in docker on an existing arm system?

djdefi
7 months ago

@puckettjw this is a ARM image (i.e. Raspberry Pi).

Your system architecture is linux/amd64