Add unzip and timezone

This commit is contained in:
Andreas Dangel
2020-11-12 16:46:35 +01:00
parent c4197fb852
commit 623213e528
2 changed files with 4 additions and 2 deletions

View File

@ -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*)

View File

@ -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