You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
62
62
VOLUME /var/lib/postgresql/data
63
63
64
-
COPY docker-entrypoint.sh /
65
-
66
-
ENTRYPOINT ["/docker-entrypoint.sh"]
64
+
COPY docker-entrypoint.sh /usr/local/bin/
65
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
125
125
VOLUME /var/lib/postgresql/data
126
126
127
-
COPY docker-entrypoint.sh /
128
-
129
-
ENTRYPOINT ["/docker-entrypoint.sh"]
127
+
COPY docker-entrypoint.sh /usr/local/bin/
128
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
62
62
VOLUME /var/lib/postgresql/data
63
63
64
-
COPY docker-entrypoint.sh /
65
-
66
-
ENTRYPOINT ["/docker-entrypoint.sh"]
64
+
COPY docker-entrypoint.sh /usr/local/bin/
65
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
125
125
VOLUME /var/lib/postgresql/data
126
126
127
-
COPY docker-entrypoint.sh /
128
-
129
-
ENTRYPOINT ["/docker-entrypoint.sh"]
127
+
COPY docker-entrypoint.sh /usr/local/bin/
128
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
62
62
VOLUME /var/lib/postgresql/data
63
63
64
-
COPY docker-entrypoint.sh /
65
-
66
-
ENTRYPOINT ["/docker-entrypoint.sh"]
64
+
COPY docker-entrypoint.sh /usr/local/bin/
65
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
125
125
VOLUME /var/lib/postgresql/data
126
126
127
-
COPY docker-entrypoint.sh /
128
-
129
-
ENTRYPOINT ["/docker-entrypoint.sh"]
127
+
COPY docker-entrypoint.sh /usr/local/bin/
128
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
62
62
VOLUME /var/lib/postgresql/data
63
63
64
-
COPY docker-entrypoint.sh /
65
-
66
-
ENTRYPOINT ["/docker-entrypoint.sh"]
64
+
COPY docker-entrypoint.sh /usr/local/bin/
65
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
125
125
VOLUME /var/lib/postgresql/data
126
126
127
-
COPY docker-entrypoint.sh /
128
-
129
-
ENTRYPOINT ["/docker-entrypoint.sh"]
127
+
COPY docker-entrypoint.sh /usr/local/bin/
128
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
62
62
VOLUME /var/lib/postgresql/data
63
63
64
-
COPY docker-entrypoint.sh /
65
-
66
-
ENTRYPOINT ["/docker-entrypoint.sh"]
64
+
COPY docker-entrypoint.sh /usr/local/bin/
65
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
125
125
VOLUME /var/lib/postgresql/data
126
126
127
-
COPY docker-entrypoint.sh /
128
-
129
-
ENTRYPOINT ["/docker-entrypoint.sh"]
127
+
COPY docker-entrypoint.sh /usr/local/bin/
128
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
125
125
VOLUME /var/lib/postgresql/data
126
126
127
-
COPY docker-entrypoint.sh /
128
-
129
-
ENTRYPOINT ["/docker-entrypoint.sh"]
127
+
COPY docker-entrypoint.sh /usr/local/bin/
128
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
RUN mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA" # this 777 will be replaced by 700 at runtime (allows semi-arbitrary "--user" values)
62
62
VOLUME /var/lib/postgresql/data
63
63
64
-
COPY docker-entrypoint.sh /
65
-
66
-
ENTRYPOINT ["/docker-entrypoint.sh"]
64
+
COPY docker-entrypoint.sh /usr/local/bin/
65
+
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
0 commit comments