Permalink
Browse files

Fix sed command

  • Loading branch information...
patthiel committed Dec 12, 2018
1 parent 9fdb58f commit 2748ca62b8242055a04fed8b2dc8f75eff0fb324
Showing with 2 additions and 2 deletions.
  1. +2 −2 Dockerfile-bats
@@ -19,8 +19,8 @@ COPY . .

# Modify the cli.py to suppress version warnings by default
# Modify the cli.py to no longer verify certs and suppress warnings (allows running tests on custom environments)
RUN sed -i '' -e 's/data=body/data=body,verify=False/' /src/linode-cli/linodecli/cli.py \
&& sed -i '' -e 's/suppress_warnings = False/suppress_warnings = True/' /src/linode-cli/linodecli/cli.py \
RUN sed -i="" "s/data=body/data=body,verify=False/" /src/linode-cli/linodecli/cli.py \
&& sed -i="" "s/suppress_warnings = False/suppress_warnings = True/" /src/linode-cli/linodecli/cli.py \
&& echo "from requests.packages.urllib3.exceptions import InsecureRequestWarning\nrequests.packages.urllib3.disable_warnings(InsecureRequestWarning)" >> /src/linode-cli/linodecli/cli.py

# Build and Install the Linode CLI

0 comments on commit 2748ca6

Please sign in to comment.