Skip to content

Commit d8714d7

Browse files
committed
x
1 parent f8b1154 commit d8714d7

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

‎.github/workflows/lambdalayer-function-url-utils.jsonnet‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
run: |||
7373
set -x
7474
LAYER_ZIP="${RUNNER_TEMP}/layer.zip"
75+
docker run --rm "${IMAGE}" unzip -l /var/task/layer.zip
7576
docker run --rm "${IMAGE}" cat /var/task/layer.zip > "${LAYER_ZIP}"
7677
mkdir -p "${RUNNER_TEMP}/manifests"
7778
unzip -l "${LAYER_ZIP}"

‎.github/workflows/lambdalayer-function-url-utils.yml‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎function-url-utils/Dockerfile.ruby33‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ COPY lib /opt/ruby/lib
1616
RUN cd /opt && zip -r /var/task/layer.zip ruby
1717
RUN unzip -l /var/task/layer.zip
1818

19-
ENTRYPOINT ["/bin/bash"]
20-
CMD []
19+
ENTRYPOINT []
20+
CMD ["/bin/bash"]

‎function-url-utils/Dockerfile.ruby34‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ COPY Gemfile* /var/task/
77
ENV BUNDLE_JOBS=30
88
RUN bundle config set path '/opt/vendor/bundle' \
99
&& bundle config set deployment 'true' \
10-
&& mkdir -p /opt/ruby/gems /opt/vendor/bundle \
11-
&& ln -s /opt/vendor/bundle/ruby/3.4.0 /opt/ruby/gems/3.4.0 \
10+
&& mkdir -p /opt/ruby/gems /opt/ruby/lib /opt/vendor/bundle \
11+
&& ln -s /opt/vendor/bundle/ruby/3.3.0 /opt/ruby/gems/3.3.0 \
1212
&& bundle install
1313

14+
COPY lib /opt/ruby/lib
15+
1416
RUN cd /opt && zip -r /var/task/layer.zip ruby
17+
RUN unzip -l /var/task/layer.zip
1518

16-
ENTRYPOINT ["/bin/bash"]
17-
CMD []
19+
ENTRYPOINT []
20+
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)