Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu Bionic Images #111

Merged
merged 2 commits into from Sep 27, 2018
Merged

Ubuntu Bionic Images #111

merged 2 commits into from Sep 27, 2018

Conversation

iamjohnnym
Copy link
Contributor

Docker images for Ubuntu 18.04 Bionic Support. The images reflect closely to the existing images in play. I was successful in building each of these locally.

socrata/base => socrata/base-bionic
socrata/runit => socrata/runit-bionic
socrata/python => socrata/python-bionic/2.7
socrata/python3 => socrata/python-bionic/3.6
socrata/runit-python => socrata/runit-bionic-python/2.7
=> socrata/runit-bionic-python/3.6

@znep
Copy link
Contributor

znep commented Sep 26, 2018

Seems reasonable at first glance. Does it make sense to try to DRY things up a bit by referencing things like clortho-get in a shared place instead of just copying them into every base image? Not sure if any of them have differences that have creeped in ...

@iamjohnnym
Copy link
Contributor Author

I considered this when I was looking at the different repo's prior to starting. It would probably be best to have a single location where common files reside.

  1. A separate docker image with essential-files, that can be included with something like,
    FROM socrata/build-essentials
  2. A single repo's where this resides and the ability to do a git clone
  3. they reside in shipyard/scripts and each base docker dir has a symlink so that they are readily accessible.

thoughts?

puts "DEBUG: AWS_REGION unset. Defaulting to us-west-2"
end

if File.file?('/etc/aws/credentials')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block doe not exist in runit-bionic/clortho-get

@znep
Copy link
Contributor

znep commented Sep 27, 2018 via email

@iamjohnnym
Copy link
Contributor Author

Bleh. No dice for now. Leveraging files from a dir above the Dockerfile has been an issue since 2013. Sad days.

moby/moby#2745 which became moby/moby#37129

@iamjohnnym iamjohnnym merged commit 5828952 into master Sep 27, 2018
@iamjohnnym iamjohnnym deleted the jrm/bionic-images branch September 27, 2018 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants