Skip to content

Instantly share code, notes, and snippets.

@ckolos
Created November 23, 2015 22:51
Show Gist options
  • Save ckolos/075180a4e338b71a4872 to your computer and use it in GitHub Desktop.
Save ckolos/075180a4e338b71a4872 to your computer and use it in GitHub Desktop.
Given:
FROM ckolos/archlinux:latest
RUN pacman -S --noconfirm python python-pip python-virtualenv git libffi libyaml
RUN cd $HOME && \
git clone https://github.com/mozilla/sops.git && \
pip install virtualenv --upgrade && \
virtualenv ~/sopsvenv
RUN source ~/sopsvenv/bin/activate && pip install -U sops
<snip>
Step 4 : RUN source ~/sopsvenv/bin/activate && pip install -U sops
---> Running in 5251d8ac9134
Collecting sops
Downloading sops-0.9.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/tmp/pip-build-t4_ai1_0/sops/setup.py", line 21, in <module>
long_description=read('README.rst'),
File "/tmp/pip-build-t4_ai1_0/sops/setup.py", line 6, in read
return open(os.path.join(os.path.dirname(__file__), fname)).read()
File "/root/sopsvenv/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 23689: ordinal not in range(128)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-t4_ai1_0/sops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment