Files
deb-python-dcos/cli/binary/Dockerfile.linux-binary
José Armando García Sancio 004d1c2213 tests: update to use latest universe (#952)
We also needed to update the CI environments to support UTF-8 encoding because the output printed by the CLI could be encoded using UTF-8.
2017-04-20 09:23:19 -07:00

33 lines
704 B
Docker

# This image runs the dcos-cli test suite.
FROM ubuntu:16.04
MAINTAINER support@mesosphere.com
RUN apt-get update && apt-get install -y \
httpie \
jq \
make \
python3-venv \
openssh-client \
git \
sudo \
language-pack-en \
&& sudo apt-get update --fix-missing \
&& sudo apt-get install -y build-essential libssl-dev libffi-dev python-dev python3-pip python3-venv \
&& pip3 install pip --upgrade \
&& python3 -m pip install pyinstaller==3.1.1
ENV LC_CTYPE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US
ENV LC_ALL ""
ADD . /dcos-cli
WORKDIR /dcos-cli
RUN make clean env packages
WORKDIR /dcos-cli/cli
RUN make clean env packages
RUN make binary && PATH=/dcos-cli/cli/dist:$PATH