summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/diffoscope/Dockerfile
blob: 22e68fd784b9bd933ef3749a5729dea88c1b2c09 (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
26
27
28
29
30
31
32
33
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Mike Hommey <mhommey@mozilla.com>

VOLUME /builds/worker/checkouts
VOLUME /builds/worker/workspace
VOLUME /builds/worker/tooltool-cache

ENV LANG=en_US.UTF-8

RUN apt-get install \
      binutils-multiarch \
      bzip2 \
      curl \
      enjarify \
      diffoscope \
      jsbeautifier \
      libc++abi1 \
      locales \
      default-jdk-headless \
      python3-progressbar \
      unzip \
      zip \
      && \
    sed -i '/en_US.UTF-8/s/^# *//' /etc/locale.gen && \
    locale-gen

COPY get_and_diffoscope /builds/worker/bin/get_and_diffoscope
COPY readelf /builds/worker/bin/readelf
COPY report_error /builds/worker/bin/report_error
COPY test_diffoscope /builds/worker/bin/test_diffoscope

RUN chown -R worker:worker /builds/worker/bin && chmod 755 /builds/worker/bin/* && \
    /builds/worker/bin/test_diffoscope