Skip to content

Commit

Permalink
Merge pull request #126 from tdviet/devel
Browse files Browse the repository at this point in the history
Fix linting
  • Loading branch information
tdviet authored Nov 24, 2021
2 parents f96529e + 11c7d4a commit 2696ef7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,19 @@ COPY . /tmp/fedcloudclient

# Dependencies
RUN pip install --no-cache-dir -r /tmp/fedcloudclient/requirements.txt

# Add IGTF CAs to Python requests
RUN cat /etc/grid-security/certificates/*.pem >> "$(python -m requests.certs)"

# Install fedcloudclient
# hadolint ignore=DL3013
RUN pip install --no-cache-dir /tmp/fedcloudclient

# Save site configs
RUN fedcloud site save-config

# Make shell more comfortable by adding completion and history
RUN cp /tmp/fedcloudclient/examples/command_history.txt /root/.bash_history \
# Post configuration: save site configs and
# make shell more comfortable by adding completion and history
# hadolint ignore=DL3059
RUN fedcloud site save-config \
&& cp /tmp/fedcloudclient/examples/command_history.txt /root/.bash_history \
&& cp /tmp/fedcloudclient/examples/fedcloud_bash_completion.sh /root/.fedcloud_completion \
&& echo ". ~/.fedcloud_completion" > /root/.bashrc

Expand Down

0 comments on commit 2696ef7

Please sign in to comment.