Skip to content

Commit

Permalink
build: remove copy for /var
Browse files Browse the repository at this point in the history
  • Loading branch information
olavloite committed Feb 7, 2024
1 parent 227f1c3 commit 255acd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/emulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ FROM gcr.io/cloud-spanner-pg-adapter/pgadapter AS pgadapter
ADD build/emulator/startup.sh /home/pgadapter/startup.sh
RUN chmod +x /home/pgadapter/startup.sh

# Add the emulator binaries.
COPY --from=emulator /gateway_main /emulator/gateway_main
COPY --from=emulator /emulator_main /emulator/emulator_main
COPY --from=emulator /licenses.txt.gz /emulator/licenses.txt.gz
RUN chmod u+x /emulator/gateway_main
RUN chmod u+x /emulator/emulator_main

# Add the emulator binaries.
# Add the emulator libraries.
COPY --from=emulator /lib/* /lib/
COPY --from=emulator /lib64/* /lib64/
COPY --from=emulator /usr/lib/* /usr/lib/
COPY --from=emulator /var/* /var/

# Expose 5432 (PGAdapter PostgreSQL port), 9010 (Emulator gRPC port), and 9020 (Emulator REST port)
EXPOSE 5432 9010 9020
Expand Down

0 comments on commit 255acd5

Please sign in to comment.