Browse Source

Merge pull request #208 from kacf/2.0.x

2.0.x: Switch Docker container from 19.10 (EOL) to 20.04.
2.0.x 2.0.1
Kristian Amlie 4 years ago
committed by GitHub
parent
commit
ae434fc2af
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Dockerfile

8
Dockerfile

@ -1,6 +1,6 @@
# Build pxz in separate image to avoid big image size
FROM ubuntu:19.10 AS build
RUN apt-get update && apt-get install -y \
FROM ubuntu:20.04 AS build
RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install -y \
build-essential \
git \
liblzma-dev
@ -9,11 +9,11 @@ RUN apt-get update && apt-get install -y \
RUN git clone https://github.com/jnovy/pxz.git /root/pxz
RUN cd /root/pxz && make
FROM ubuntu:19.10
FROM ubuntu:20.04
ARG MENDER_ARTIFACT_VERSION=3.3.0
RUN apt-get update && apt-get install -y \
RUN apt-get update && env DEBIAN_FRONTEND=noninteractive apt-get install -y \
# For 'ar' command to unpack .deb
binutils \
xz-utils \

Loading…
Cancel
Save