about summary refs log tree commit diff
path: root/Dockerfile.ubuntu.template
blob: 14f9b95891705b45abba0464429944001c204b3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Build Ubuntu image
FROM @BUILD_ARCH@/@BUILD_FLAVOR@:@BUILD_RELEASE@

# see https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#/run
RUN apt-get update && \
  apt-get install -y --no-install-recommends \
  @BUILD_PACKAGES@ \
  build-essential \
  g++

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY . /usr/src/app