Skip to content

Commit

Permalink
fix(docker): clean apt archives before push
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Feb 21, 2022
1 parent 4f2a2e2 commit f76b3d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/emerald-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ RUN chmod a+x "${EMERALD_PARATIME}"
# Install Postgresql and other tools packaged by Ubuntu.
RUN apt update -qq \
&& apt dist-upgrade -qq -y \
&& apt install jq postgresql -y
&& apt install jq postgresql -y \
&& rm -rf /var/lib/apt/lists/*
USER postgres
RUN /etc/init.d/postgresql start \
&& psql --command "ALTER USER postgres WITH SUPERUSER PASSWORD 'postgres';"
Expand Down

0 comments on commit f76b3d0

Please sign in to comment.