Skip to content

Commit

Permalink
Added Black Duck Scan plugin (#3219)
Browse files Browse the repository at this point in the history
* Added Black Duck Scan plugin

* Add java to devcontainer to run BDS.

* Change to JAVA headless

* Cache is already cleaned, removed unneeded run.
  • Loading branch information
seriva authored Jul 14, 2022
1 parent 0340be3 commit 6fdc22e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RUN : INSTALL APT REQUIREMENTS \
make musl-dev openssh-client procps \
psmisc rsync ruby-full sudo tar \
unzip vim \
openjdk-11-jdk-headless \
&& apt-get -q autoremove -y \
&& apt-get -q clean -y \
&& rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -58,5 +59,8 @@ RUN : SETUP USER AND OTHERS \
&& chmod ug=r,o= /etc/sudoers.d/$USERNAME \
&& setcap 'cap_net_bind_service=+ep' /usr/bin/ssh

RUN : SETUP JAVE_HOME
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/

RUN : SETUP EPICLI ALIAS \
&& echo alias epicli='"export PYTHONPATH=/workspaces/epiphany && python3 -m cli.epicli"' >> /etc/bash.bashrc
2 changes: 2 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"extensions": [
// Ansible
"redhat.ansible",
// Black Duck Scan
"synopsyscodesight.vscode-codesight",
// Common
"shardulm94.trailing-spaces",
// Git
Expand Down

0 comments on commit 6fdc22e

Please sign in to comment.