Skip to content

Commit

Permalink
Group some run in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
barcus committed Mar 18, 2022
1 parent 719e9b2 commit 6472e2c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Bareos director Dockerfile
# PostgreSQL upgrade image
FROM postgres:14-bullseye

LABEL maintainer="[email protected]"

ARG PG_NEW

RUN apt-get update \
&& apt-get install -y sudo
&& apt-get install -qq -y sudo

RUN adduser postgres sudo
RUN echo '%postgres ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
RUN adduser postgres sudo \
&& echo '%postgres ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
&& mkdir -p /var/log/postgresql

RUN mkdir -p /var/log/postgresql
WORKDIR /var/log/postgresql

COPY docker-entrypoint.sh /docker-entrypoint.sh
Expand Down

0 comments on commit 6472e2c

Please sign in to comment.