File: Dockerfile.powerpc

package info (click to toggle)
ruby-ffi 1.12.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,652 kB
  • sloc: ruby: 8,078; ansic: 7,157; xml: 151; sh: 51; makefile: 14
file content (26 lines) | stat: -rw-r--r-- 478 bytes parent folder | download
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
# 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 . .

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

ENV MAKE "make -j`nproc`"
CMD bundle install && \
    bundle exec rake compile && \
    bundle exec rake test