Skip to content

Instantly share code, notes, and snippets.

@grim-yawn
Created January 3, 2018 12:43
Show Gist options
  • Save grim-yawn/50b5a364ed996dd44026f975be4bd09a to your computer and use it in GitHub Desktop.
Save grim-yawn/50b5a364ed996dd44026f975be4bd09a to your computer and use it in GitHub Desktop.
Dockerfile for specific gcc version
# Сперва docker build -t <image_name> .
# Потом docker run --rm <image_name>
FROM python:3.5
RUN apt-get install g++-4.9
CMD ["gcc", "--version"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment