File tree Expand file tree Collapse file tree 2 files changed +6
-23
lines changed
.github/awsl-layer-docker Expand file tree Collapse file tree 2 files changed +6
-23
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ARG INTERSCRIPT_GEM_VERSION
44RUN echo "using INTERSCRIPT_GEM_VERSION=$INTERSCRIPT_GEM_VERSION"
55
66ADD Gemfile .
7- RUN bundle config set path "/ruby "
7+ RUN bundle config set path "/vendor "
88RUN bundle install --without=development --jobs 4 --retry 3
99
1010RUN echo "install python libs"
@@ -23,26 +23,8 @@ RUN yum install -y \
2323 swig \
2424 python3-setuptools
2525
26- COPY --from=builder /lambda /lambda
27- COPY --from=builder /ruby /lambda/opt/ruby/gems
28- # COPY --from=builder "/lambda/ruby" "/lambda/opt/ruby/gems"
29- # RUN cd /lambda/opt
30- # RUN zip -r ../libs.zip .
26+ COPY --from=builder /lambda/ /lambda/
27+ # COPY --from=builder /ruby/2.7.0 /lambda/opt/ruby/gems/2.7.0
28+ COPY --from=builder /vendor/ruby /lambda/opt/ruby/gems/
29+ RUN ls -all /lambda/opt/ruby/gems
3130
32-
33-
34- # COPY --from=builder "/lambda/ruby" "/lambda/opt/ruby/gems"
35-
36- # RUN pip3 install setuptools numpy \
37- # pip3 install git+https://github.com/sequitur-g2p/sequitur-g2p@9b7c505
38-
39- # FROM lambci/lambda:20200812-build-ruby2.7 as builder
40- #
41- # ADD Gemfile .
42- # RUN bundle config set path "/lambda"
43- # RUN bundle install --without=development --jobs 4 --retry 3
44- #
45- # FROM lambci/yumda:2 as yumda
46- #
47- # COPY --from=builder "/lambda/ruby" "/lambda/opt/ruby/gems"
48- #
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33rm -Rf ./libs
4+ rm -Rf ./libs.zip
45cp ../../Gemfile Gemfile
56
67docker build --no-cache \
You can’t perform that action at this time.
0 commit comments