File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5
5
apt-get update && \
6
6
apt-get install -y apt-transport-https && \
7
7
apt-get update && \
8
- apt-get install -y tzdata gcc pkg-config libssl-dev libxml2-dev libyaml-dev libgmp-dev git make && \
9
- apt-get install -y libpcre3-dev libevent-dev && \
8
+ DEBIAN_FRONTEND=noninteractive \
9
+ apt-get install -y tzdata gcc pkg-config libssl-dev libxml2-dev libyaml-dev libgmp-dev git make \
10
+ libpcre3-dev libevent-dev && \
10
11
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
11
12
12
13
ARG crystal_deb
@@ -20,7 +21,7 @@ FROM runtime as build
20
21
21
22
RUN \
22
23
apt-get update && \
23
- apt-get install -y build-essential llvm-4.0 libedit-dev libreadline-dev gdb && \
24
+ apt-get install -y build-essential llvm-8 libedit-dev libreadline-dev gdb && \
24
25
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
25
26
26
27
ENV LIBRARY_PATH=/usr/lib/crystal/lib/
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ DOCKER_TAG ?= ## How to tag the docker image. a -build will be appended f
4
4
DOCKER_REPOSITORY ?= # # Docker hub repository to commit image
5
5
6
6
OUTPUT_DIR = build
7
- BUILD_ARGS64 = --build-arg crystal_deb=./tmp/crystal.deb --build-arg base_docker_image=ubuntu:xenial
8
- BUILD_ARGS32 = --build-arg crystal_deb=./tmp/crystal.deb --build-arg base_docker_image=i386/ubuntu:xenial
7
+ BUILD_ARGS64 = --build-arg crystal_deb=./tmp/crystal.deb --build-arg base_docker_image=ubuntu:bionic
8
+ BUILD_ARGS32 = --build-arg crystal_deb=./tmp/crystal.deb --build-arg base_docker_image=i386/ubuntu:bionic
9
9
10
10
.PHONY : all64
11
11
all64 : $(OUTPUT_DIR ) /docker-$(CRYSTAL_VERSION ) .tar.gz $(OUTPUT_DIR ) /docker-$(CRYSTAL_VERSION ) -build.tar.gz
You can’t perform that action at this time.
0 commit comments