Fix ubuntu version though it shouldnt matter in the future

master v0.5
Bel LaPointe 2020-04-07 13:43:40 -06:00
parent 2cffb2c2cb
commit 06e5ac98d1
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
FROM ubuntu:20.04 as builder
FROM ubuntu:18.04 as builder
RUN apt -y update || true; apt -y install gcc
COPY ./pause /pause
RUN cd /pause && gcc ./main.c -o pauser
FROM ubuntu:20.04
FROM ubuntu:18.04
RUN groupadd postgres && useradd -d /home/postgres -ms /bin/bash -g postgres -G sudo postgres
RUN export DEBIAN_FRONTEND=noninteractive; \
apt -y update || true; \