Skip to content

Instantly share code, notes, and snippets.

@umihico
Created April 15, 2021 12:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save umihico/689ed492544c3050482928cef2027fb3 to your computer and use it in GitHub Desktop.
Save umihico/689ed492544c3050482928cef2027fb3 to your computer and use it in GitHub Desktop.
Install amazon-linux-extras on public.ecr.aws/lambda/python:3.8
FROM public.ecr.aws/lambda/python:3.8
RUN yum install -y amazon-linux-extras
RUN cp -r /lib/python2.7/site-packages/amazon_linux_extras /var/lang/lib/python3.8/site-packages/
# TEST COMMAND -> RUN amazon-linux-extras install -y mate-desktop1.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment