Skip to content

Commit 267b4f8

Browse files
committed
Revert to 2c2fe8f
1 parent aa2a5b4 commit 267b4f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# REDCAP_URL_BASE default should be set to https://redcap.vanderbilt.edu/api/
1111
# SCHEDULE_RUN_TIME default should be set to 00:00
1212
# need to mount backup dir to POSTGRES_DUMP_PATH
13-
FROM ubuntu:22.04 AS transform
13+
FROM ubuntu:20.04 AS transform
1414

1515
RUN apt-get update && apt-get install -y wget openjdk-8-jdk gnupg
1616
RUN apt-get update && apt-get install curl -y
@@ -19,11 +19,11 @@ RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee -a /etc/apt/so
1919
RUN curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add
2020
# RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
2121
RUN apt-get update && apt-get install -y sbt
22-
COPY ./map-pipeline ./map-pipeline
22+
COPY ["map-pipeline", "map-pipeline"]
2323
WORKDIR map-pipeline
2424
RUN sbt assembly
2525

26-
FROM ubuntu:22.04
26+
FROM ubuntu:20.04
2727

2828
RUN apt-get update && apt-get install -y wget curl
2929

@@ -37,11 +37,11 @@ RUN mkdir data
3737

3838
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget gnupg git tzdata
3939

40-
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main" | tee -a /etc/apt/sources.list.d/pgdg.list
40+
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main" | tee -a /etc/apt/sources.list.d/pgdg.list
4141

4242
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
4343

44-
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip wget openjdk-8-jdk postgresql-client-15 libmemcached-dev
44+
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip wget openjdk-8-jdk postgresql-client-11 libmemcached-dev
4545

4646

4747
RUN apt-get install pkg-config libicu-dev -y

0 commit comments

Comments
 (0)