summaryrefslogtreecommitdiff
path: root/spec/env/Dockerfile.armhf
blob: 58b775c93bfc4be57cf84c6e3badaf74582e9a6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# See .travis.yml how this docker image can be used.
FROM multiarch/ubuntu-debootstrap:armhf-bionic

RUN uname -a
RUN apt-get update -qq && \
  apt-get install -yq \
    autoconf \
    automake \
    file \
    gcc \
    git \
    libtool \
    make \
    ruby-dev
RUN ruby --version

WORKDIR /ffi
COPY . .

RUN gem install bundler --no-doc && \
    bundle install

CMD bundle install && \
    bundle exec rake compile && \
    bundle exec rake test