Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user
#!/bin/bash | |
#coomands were run on a ubuntu os | |
#Docker and Kubernetes repositories: | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ |
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user
#!/usr/bin/python3 | |
import sys | |
import os | |
import inspect | |
import ipdb | |
sys.path.append('/opt/odoodev/git/odoo') | |
sys.path.append('/opt/odoodev/git/tools/src/anybox.recipe.odoo') | |
from anybox.recipe.odoo.runtime.session import Session | |
import odoo |
# License LGPL-3.0 or later (http://www.gnu.org/licenses/LGPL). | |
from odoo.tests import common | |
class TestSecurityCommon(common.TransactionCase): | |
def setUp(self): | |
super(TestProjectEventCommon, self).setUp() | |