File: Dockerfile.powerpc

package info (click to toggle)
ruby-ffi 1.17.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,988 kB
  • sloc: ruby: 9,446; ansic: 7,713; xml: 151; sh: 51; makefile: 14
file content (27 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (2)
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
26
27
# See .travis.yml how this docker image can be used.
FROM multiarch/ubuntu-debootstrap:powerpc-xenial

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 . .

ENV MAKE "make -j`nproc`"
RUN gem install bundler --no-doc && \
    bundle install

CMD bundle install && \
    bundle exec rake libffi compile && \
    bundle exec rake test && \
    bundle exec rake types_conf && git --no-pager diff