Skip to content

Commit

Permalink
Workaround for docker bug
Browse files Browse the repository at this point in the history
  • Loading branch information
expaso committed Mar 29, 2022
1 parent dacc004 commit 9928cb1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion timescaledb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,12 @@ COPY --from=addon-pg12 /usr/lib/libproj* /usr/lib/
# Yes! I know it looks like we're copying over from the wrong postgresql version (14), but it's just a build-glitch
# using the wrong foldername (postgresql14 instead of 12).. sigh..not my fault.
COPY --from=timescale-pg12 /usr/lib/postgresql14/* /usr/lib/postgresql12/
COPY --from=timescale-pg12 /usr/lib/postgresql14/* /usr/lib/postgresql12/
# Dumb fix for a docker build: https://github.com/moby/moby/issues/37965
RUN true

COPY --from=timescale-pg12 /usr/share/postgresql14/extension/* /usr/share/postgresql12/extension/
# Dumb fix for a docker build: https://github.com/moby/moby/issues/37965
RUN true

# Fixup a packaging problem with an Alpine Package..
RUN cp /usr/share/postgresql14/extension/postgis--unpackaged--3.2.1.sql /usr/share/postgresql14/extension/postgis--ANY--3.2.1.sql
Expand Down

0 comments on commit 9928cb1

Please sign in to comment.