Fixes
This commit is contained in:
parent
4e0850d0ed
commit
4a5396522f
|
@ -1,6 +1,6 @@
|
|||
FROM ruby:2.6.6-alpine3.13 as rosa-build-gems
|
||||
|
||||
WORKDIR /rosa-build
|
||||
WORKDIR /app/rosa-build
|
||||
RUN apk add --no-cache libpq tzdata ca-certificates git icu rpm nodejs python2 redis && \
|
||||
apk add --virtual .ruby-builddeps --no-cache postgresql-dev build-base cmake icu-dev
|
||||
RUN gem install bundler:1.17.3
|
||||
|
@ -10,7 +10,7 @@ RUN bundle install --without development test --jobs 16 --clean --deployment --n
|
|||
apk add --no-cache file imagemagick curl gnupg openssh-keygen findutils && \
|
||||
apk del .ruby-builddeps && rm -rf /root/.bundle && rm -rf /proxy/vendor/bundle/ruby/2.6.0/cache && \
|
||||
git clone -b 2.2.0 https://github.com/pygments/pygments.git && cd pygments && python setup.py install && cd .. && rm -rf pygments && \
|
||||
cd /rosa-build/vendor/bundle/ruby && find -name *.o -exec rm {} \;
|
||||
cd /app/rosa-build/vendor/bundle/ruby && find -name *.o -exec rm {} \;
|
||||
|
||||
FROM scratch
|
||||
COPY --from=rosa-build-gems / /
|
||||
|
|
Loading…
Reference in New Issue