From 623213e528b89654c6ecc867afd2c51d7756f306 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 12 Nov 2020 16:46:35 +0100 Subject: [PATCH] Add unzip and timezone --- .ci/check-environment.sh | 1 + .ci/docker_ubuntu18.04/Dockerfile | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/check-environment.sh b/.ci/check-environment.sh index 850b82a621..51dfc28791 100755 --- a/.ci/check-environment.sh +++ b/.ci/check-environment.sh @@ -44,6 +44,7 @@ case "$(uname)" in check "ssh" "ssh -V" "OpenSSH" check "git" "git --version" "git version" check "mvn" "mvn --version" "Apache Maven" + check "unzip" "unzip --version" "UnZip" #check "7z" "7z -version" "7-Zip" ;; Darwin*) diff --git a/.ci/docker_ubuntu18.04/Dockerfile b/.ci/docker_ubuntu18.04/Dockerfile index ae761efa59..6999125846 100644 --- a/.ci/docker_ubuntu18.04/Dockerfile +++ b/.ci/docker_ubuntu18.04/Dockerfile @@ -1,10 +1,11 @@ # https://hub.docker.com/_/ubuntu/ FROM ubuntu:18.04 +ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get upgrade --yes && \ apt-get install --yes curl jq gpg rsync ssh git p7zip-full openjdk-8-jdk \ libgdbm-dev libncurses5-dev automake libtool bison libffi-dev \ - sudo nano bash && \ + sudo nano bash tzdata unzip && \ apt-get clean RUN cd opt && \ curl https://mirror.checkdomain.de/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz | tar xz && \ @@ -14,7 +15,7 @@ RUN groupadd --gid 1000 pmd-ci && useradd --gid 1000 --uid 1000 --groups sudo \ --shell /bin/bash --create-home --password "" \ pmd-ci -RUN mkdir /workspaces && chown pmd-ci:pmd-ci /workspaces && ln -sf /workspaces /home/pmd-ci/workspaces +RUN mkdir -p /workspaces/pmd/pmd && chown -R pmd-ci:pmd-ci /workspaces && ln -sf /workspaces /home/pmd-ci/workspaces USER pmd-ci:pmd-ci WORKDIR /home/pmd-ci