Skip to content

Instantly share code, notes, and snippets.

@xShirase
Last active January 17, 2021 13:32
Show Gist options
  • Save xShirase/f3117431226195e7c85682f87a2676c0 to your computer and use it in GitHub Desktop.
Save xShirase/f3117431226195e7c85682f87a2676c0 to your computer and use it in GitHub Desktop.
aws-lambda-ric
ARG FUNCTION_DIR="/function"
FROM ubuntu:focal
ARG FUNCTION_DIR
# Install utils for ric
RUN apt install -y curl wget git g++ make cmake unzip libcurl4-openssl-dev autoconf libtool
# install NodeJS
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt install -y nodejs
RUN npm install -g yarn
# Install ric
RUN npm i aws-lambda-ric
ENTRYPOINT ["/usr/local/bin/npx", "aws-lambda-ric"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment