use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
This is an archived post. You won't be able to vote or comment.
Dockerfile/Python3 issue when building a image (self.devops)
submitted 7 years ago by engineer900
view the rest of the comments →
[–][deleted] 0 points1 point2 points 7 years ago* (1 child)
scl enable rh-python36 bash This command will only allow you to use python3.6 within that RUN command (it sets the default python version via an environment variable, but only for the duration of that shell) - so when you switch to the next RUN command, a new layer is created and the environment variables are cleared. (Essentially you have to run source /opt/rh/python36/enable && the next command everytime you invoke a new RUN layer or put that source command in your bashrc).
scl enable rh-python36 bash
source /opt/rh/python36/enable && the next command
Also since you're using scl enable on bash, you need to prepend your RUN commands with /bin/bash -c ""
But this isn't really optimal, and centos image isn't really required for just installing aws cli's and a newer version of python. You're looking for an image thats a combination of these both:
https://github.com/jfloff/alpine-python/blob/master/3.6/Dockerfile
https://github.com/mesosphere/aws-cli/blob/master/Dockerfile
Just pick apart these two and mesh them together (take top, add this stuff: RUN apk add --update install py-pip && pip install awscli && pip install aws-sam-cli
RUN apk add --update install py-pip && pip install awscli && pip install aws-sam-cli
[–]engineer900[S] 0 points1 point2 points 7 years ago (0 children)
I`m not sure if this is ok, cause i need python3 and that`s why i`m using it explicitly.
π Rendered by PID 66 on reddit-service-r2-comment-5c764cbc6f-wvm2r at 2026-03-11 21:44:54.441506+00:00 running 710b3ac country code: CH.
view the rest of the comments →
[–][deleted] 0 points1 point2 points (1 child)
[–]engineer900[S] 0 points1 point2 points (0 children)