File tree 4 files changed +3
-15
lines changed
4 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ WORKDIR /external_extensions/sequential-uuids/
9
9
10
10
RUN apk update && apk add build-base icu-dev postgresql-dev
11
11
RUN make clean && make install
12
- # run find / -name 'sequential_uuids*' to find newly compiled files and copy to next stage
13
12
14
13
# main image
15
14
FROM postgres:${postgres_version}-alpine
19
18
COPY --from=extension_builder /usr/local/lib/postgresql/ /usr/local/lib/postgresql/
20
19
COPY --from=extension_builder /usr/local/share/postgresql/extension /usr/local/share/postgresql/extension
21
20
22
- RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > /docker-entrypoint-initdb.d/create_sequential_uuids.sql
23
-
24
- # ref: https://github.com/docker-library/postgres/issues/340
21
+ RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > /docker-entrypoint-initdb.d/create_sequential_uuids.sql
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ WORKDIR /external_extensions/sequential-uuids/
10
10
11
11
RUN apt-get update && apt install build-essential libicu-dev postgresql-server-dev-${postgres_version} -y --no-install-recommends
12
12
RUN make clean && make install
13
- # run find / -name 'sequential_uuids*' to find newly compiled files and copy to next stage
14
13
15
14
# main image
16
15
FROM postgres:${postgres_version}
21
20
COPY --from=extension_builder /usr/lib/postgresql/${pg_version_in_path}/lib /usr/lib/postgresql/${pg_version_in_path}/lib
22
21
COPY --from=extension_builder /usr/share/postgresql/${pg_version_in_path}/extension /usr/share/postgresql/${pg_version_in_path}/extension
23
22
24
- RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > /docker-entrypoint-initdb.d/create_sequential_uuids.sql
25
-
26
- # ref: https://github.com/docker-library/postgres/issues/340
23
+ RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > /docker-entrypoint-initdb.d/create_sequential_uuids.sql
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ WORKDIR /external_extensions/sequential-uuids/
9
9
10
10
RUN apk update && apk add build-base icu-dev postgresql-dev
11
11
RUN make clean && make install
12
- # run find / -name 'sequential_uuids*' to find newly compiled files and copy to next stage
13
12
14
13
# main image
15
14
FROM postgres:${postgres_version}-alpine
19
18
COPY --from=extension_builder /usr/local/lib/postgresql/ /usr/local/lib/postgresql/
20
19
COPY --from=extension_builder /usr/local/share/postgresql/extension /usr/local/share/postgresql/extension
21
20
22
- RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > /docker-entrypoint-initdb.d/create_sequential_uuids.sql
23
-
24
- # ref: https://github.com/docker-library/postgres/issues/340
21
+ RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > /docker-entrypoint-initdb.d/create_sequential_uuids.sql
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ WORKDIR /external_extensions/sequential-uuids/
10
10
11
11
RUN apt-get update && apt install build-essential libicu-dev postgresql-server-dev-${postgres_version} -y --no-install-recommends
12
12
RUN make clean && make install
13
- # run find / -name 'sequential_uuids*' to find newly compiled files and copy to next stage
14
13
15
14
# main image
16
15
FROM postgres:${postgres_version}
@@ -22,5 +21,3 @@ COPY --from=extension_builder /usr/lib/postgresql/${pg_version_in_path}/lib /usr
22
21
COPY --from=extension_builder /usr/share/postgresql/${pg_version_in_path}/extension /usr/share/postgresql/${pg_version_in_path}/extension
23
22
24
23
RUN echo "CREATE EXTENSION IF NOT EXISTS sequential_uuids;" > /docker-entrypoint-initdb.d/create_sequential_uuids.sql
25
-
26
- # ref: https://github.com/docker-library/postgres/issues/340
You can’t perform that action at this time.
0 commit comments