Skip to content

Commit

Permalink
Fix release build with debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jan 24, 2022
1 parent 2b8893d commit d6ebb47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ ARG BUILDARCH=amd64
LABEL org.opencontainers.image.title="bun ${BUILDARCH} (glibc)"
LABEL org.opencontainers.image.source=https://github.com/jarred-sumner/bun
COPY --from=build_release ${BUN_RELEASE_DIR}/bun /opt/bun/bin/bun
COPY --from=build_release ${BUN_RELEASE_DIR}/bun.dSYM.gz /opt/bun/bin/bun.dSYM.gz
COPY --from=build_release ${BUN_RELEASE_DIR}/bun-profile /opt/bun/bin/bun-profile

WORKDIR /opt/bun

ENTRYPOINT [ "/opt/bun/bin/bun" ]
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ PLATFORM_LINKER_FLAGS = \
-fdata-sections \
-static-libstdc++ \
-static-libgcc \
-Wl,--compress-debug-sections,zlib \
${STATIC_MUSL_FLAG}
endif

Expand Down

0 comments on commit d6ebb47

Please sign in to comment.