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

python versions 3.7, 3.6 fail #14

Open
Zeebrow opened this issue Jul 7, 2022 · 0 comments
Open

python versions 3.7, 3.6 fail #14

Zeebrow opened this issue Jul 7, 2022 · 0 comments

Comments

@Zeebrow
Copy link
Owner

Zeebrow commented Jul 7, 2022

This should do the trick:

SNAKE_VER=3.7

cd $(mktemp -d)
git clone https://github.com/Zeebrow/quickhost.git
git clone https://github.com/Zeebrow/quickhost-plugins.git
cat <<EOF > Dockerfile
FROM python:$SNAKE_VER
COPY ./quickhost /app/quickhost
COPY ./quickhost-plugins/plugins/aws /app/aws
WORKDIR /app
RUN pip install --upgrade pip && \
  pip install -e quickhost && \
  pip install -e aws
ENTRYPOINT ["main.py"]
EOF
if [[ $(groups) =~ docker ]]; then
  docker build -t quickhost-test . && docker run quickhost-test make --aws asdf
else
  sudo docker build -t quickhost-test . && sudo docker run quickhost-test make --aws asdf
@Zeebrow Zeebrow changed the title python versions 3.7, 3.6 python versions 3.7, 3.6 fail Jul 7, 2022
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

No branches or pull requests

1 participant