Skip to content

Instantly share code, notes, and snippets.

@drogus
Created December 2, 2018 23:06
Show Gist options
  • Save drogus/e16260baa0210a30922a3808a9eed8ff to your computer and use it in GitHub Desktop.
Save drogus/e16260baa0210a30922a3808a9eed8ff to your computer and use it in GitHub Desktop.
AWS lambda rust
FROM amazonlinux:2017.03.1.20170812-with-sources
RUN curl https://sh.rustup.rs -sSf | /bin/sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN rustup install nightly
RUN yum install -y gcc gcc-c++ make openssl openssl-devel
RUN mkdir /code
WORKDIR /code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment