summaryrefslogtreecommitdiffstats
path: root/third_party/jpeg-xl/docker/Dockerfile.jpegxl-builder
blob: 16e0077eea0165877ed4efd015b9855f01ecd011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (c) the JPEG XL Project Authors. All rights reserved.
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# Build an Ubuntu-based docker image with the installed software needed to
# develop and test JPEG XL.

FROM ubuntu:bionic

# Set a prompt for when using it locally.
ENV PS1="\[\033[01;33m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ "

COPY scripts/99_norecommends /etc/apt/apt.conf.d/99_norecommends

COPY scripts /jpegxl_scripts

ARG DEBIAN_FRONTEND=noninteractive

RUN /jpegxl_scripts/jpegxl_builder.sh && \
  rm -rf /jpegxl_scripts