File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,11 @@ ARG jar=target/github-changelog-generator.jar
5
5
6
6
COPY ${jar} /github-changelog-generator.jar
7
7
8
+ RUN export DEBIAN_FRONTEND=noninteractive
8
9
RUN apt-get update
9
- RUN apt-get install --no-install-recommends -y ca-certificates curl
10
+ RUN apt-get install --no-install-recommends -y tzdata ca-certificates curl
11
+ RUN ln -fs /usr/share/zoneinfo/UTC /etc/localtime
12
+ RUN dpkg-reconfigure --frontend noninteractive tzdata
10
13
RUN rm -rf /var/lib/apt/lists/*
11
14
12
15
ENV JAVA_HOME /opt/openjdk
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -ex
3
3
4
+ export DEBIAN_FRONTEND=noninteractive
5
+
4
6
# ##########################################################
5
7
# UTILS
6
8
# ##########################################################
7
9
8
10
apt-get update
9
- apt-get install --no-install-recommends -y ca-certificates net-tools libxml2-utils git curl
11
+ apt-get install --no-install-recommends -y tzdata ca-certificates net-tools libxml2-utils git curl
12
+ ln -fs /usr/share/zoneinfo/UTC /etc/localtime
13
+ dpkg-reconfigure --frontend noninteractive tzdata
10
14
rm -rf /var/lib/apt/lists/*
11
15
12
16
curl https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/concourse-java.sh > /opt/concourse-java.sh
You can’t perform that action at this time.
0 commit comments