Skip to content

Commit

Permalink
Docker simba image version 0.5.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Jul 7, 2018
1 parent 11b115d commit a6e7185
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
16 changes: 16 additions & 0 deletions make/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ RUN \
automake \
avrdude \
avr-libc \
bash-completion \
binutils-avr \
bison \
bossa-cli \
Expand All @@ -24,7 +25,9 @@ RUN \
gcc-arm-none-eabi \
gcc-avr \
gdb-avr \
genext2fs \
git \
gitk \
gperf \
help2man \
lcov \
Expand All @@ -42,6 +45,7 @@ RUN \
python-pyelftools \
sed \
texinfo \
u-boot-tools \
unrar \
unzip \
valgrind \
Expand Down Expand Up @@ -84,4 +88,16 @@ RUN \
mv /tmp2/esp-open-sdk/xtensa-lx106-elf /opt && \
rm -rf tmp2

RUN \
cd /opt && \
wget https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/aarch64-elf/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-elf.tar.xz && \
tar xf gcc-linaro-7.2.1-2017.11-x86_64_aarch64-elf.tar.xz && \
rm gcc-linaro-7.2.1-2017.11-x86_64_aarch64-elf.tar.xz

RUN \
cd /opt && \
wget https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/aarch64-linux-gnu/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu.tar.xz && \
tar xf gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu.tar.xz && \
rm gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu.tar.xz

ENV SIMBA_DOCKER=yes
8 changes: 6 additions & 2 deletions rundocker.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

SIMBA_DOCKER_VERSION=0.4.0
SIMBA_DOCKER_VERSION=0.5.0
SIMBA_ROOT=$(pwd)

docker run \
Expand All @@ -11,7 +11,11 @@ docker run \
-w /home/$USER \
-v /etc/passwd:/etc/passwd:ro \
-v /etc/group:/etc/group:ro \
-u $(id -u):$(id -g) \
-v /dev:/dev \
--user $(id -u):$(id -g) \
--group-add dialout \
--privileged \
--network host \
eerimoq/simba:$SIMBA_DOCKER_VERSION \
/bin/bash -c \
"cd $SIMBA_ROOT \
Expand Down

0 comments on commit a6e7185

Please sign in to comment.