Skip to content

Commit

Permalink
Install multi-gitter
Browse files Browse the repository at this point in the history
  • Loading branch information
willsawyerrrr committed Jan 19, 2024
1 parent 862cb5e commit f9e0c83
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
FROM ubuntu:22.04 as multi-gitter-image

WORKDIR /multi-gitter

RUN apt update && apt install curl --yes \
&& touch ./multi-gitter && chmod +w ./multi-gitter \
&& curl -s https://raw.githubusercontent.com/lindell/multi-gitter/master/install.sh -O \
&& chmod +x install.sh && sh install.sh -b .

FROM public.ecr.aws/lambda/nodejs:20 as build-image

WORKDIR /usr/app
Expand All @@ -12,6 +21,7 @@ FROM public.ecr.aws/lambda/nodejs:20

WORKDIR ${LAMBDA_TASK_ROOT}

COPY --from=multi-gitter-image /multi-gitter/multi-gitter /usr/local/bin/multi-gitter
COPY --from=build-image /usr/app/package.json /usr/app/package-lock.json /usr/app/dist ./

RUN npm clean-install --omit dev
Expand Down

0 comments on commit f9e0c83

Please sign in to comment.