File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 2121 export REGISTRY=test
2222 export IMAGE_VERSION=latest
2323 export DOCKER_CLI_EXPERIMENTAL=enabled
24- make
25- make container-build
24+ make container
2625
2726 - name : Run Trivy vulnerability scanner
2827 uses : aquasecurity/trivy-action@master
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- FROM ubuntu
15+ FROM k8s.gcr.io/build-image/debian-base:bullseye-v1.0.0
16+
17+ RUN apt update && apt-mark unhold libcap2
18+ RUN clean-install ca-certificates mount
19+ # install updated packages to fix CVE issues
20+ RUN clean-install libssl1.1 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libgmp10
1621
1722# Copy iscsiplugin.sh
1823COPY iscsiplugin.sh /iscsiplugin.sh
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ OUTPUT_TYPE ?= docker
2929ARCH ?= amd64
3030IMAGE_TAG = $(REGISTRY ) /$(IMAGENAME ) :$(IMAGE_VERSION )
3131
32- .PHONY : container-build
33- container-build :
32+ .PHONY : container
33+ container :
34+ make
3435 docker buildx build --pull --output=type=$(OUTPUT_TYPE ) --platform=" linux/$( ARCH) " \
3536 -t $(IMAGE_TAG ) --build-arg ARCH=$(ARCH ) .
3637
You can’t perform that action at this time.
0 commit comments