Skip to content

Commit

Permalink
docker file fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 5, 2024
1 parent 125dbb5 commit 6766441
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions assets/lambda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,21 @@

FROM public.ecr.aws/lambda/ruby:3.2

RUN yum update -y
RUN yum install -y make automake gcc gcc-c++ kernel-devel \
gcc readline-devel libicu-devel zlib-devel \
openssl-devel openssl \
wget tar gzip \
libyaml libyaml-devel \
git
RUN yum update -y \

Check failure on line 25 in assets/lambda/Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

DL3033 warning: Specify version with `yum install -y <package>-<version>`.
&& yum install -y \
make automake gcc gcc-c++ kernel-devel \
gcc readline-devel libicu-devel zlib-devel \
openssl-devel openssl \
wget tar gzip \
libyaml libyaml-devel \
git \
&& yum clean all

COPY install-pgsql.sh /tmp
RUN /bin/bash /tmp/install-pgsql.sh

COPY Gemfile ${LAMBDA_TASK_ROOT}/
RUN gem install bundler && bundle install --gemfile=${LAMBDA_TASK_ROOT}/Gemfile
RUN gem install bundler:2.15.18 && bundle install "--gemfile=${LAMBDA_TASK_ROOT}/Gemfile"

COPY swarm/ /swarm

Expand Down

0 comments on commit 6766441

Please sign in to comment.