2021-09-29 18:54:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
test -n "${EXTRA_PKGS}" && apk add --no-cache ${EXTRA_PKGS}
|
2021-09-30 00:11:17 +00:00
|
|
|
test -n "${EXTRA_GEMS}" && gem install --no-user-install --no-document ${EXTRA_GEMS}
|
2021-09-29 18:54:59 +00:00
|
|
|
|
2023-02-04 16:37:04 +00:00
|
|
|
GEM_COMPILER_FLAGS="${GEM_COMPILER_FLAGS}" su-exec builder /usr/local/bin/gem-compiler
|
2022-02-15 13:23:07 +00:00
|
|
|
|
|
|
|
exit_status=$?
|
|
|
|
|
|
|
|
test -n "${EXTRA_PKGS}" && apk del ${EXTRA_PKGS}
|
2022-04-14 19:09:21 +00:00
|
|
|
test -n "${EXTRA_GEMS}" && gem uninstall --all ${EXTRA_GEMS}
|
2022-02-15 13:23:07 +00:00
|
|
|
|
|
|
|
exit ${exit_status}
|