Skip to content

Commit

Permalink
update scanner arm64 dockerfile into ubuntu2204
Browse files Browse the repository at this point in the history
  • Loading branch information
kulukami committed Sep 12, 2023
1 parent eed89d4 commit e7ffcd7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export VCPKG_DEFAULT_TRIPLET="arm64-linux-static"
export RUSTC_TARGET="aarch64-unknown-linux-gnu"
export TARGET_ARCH="arm64"
export VCPKG_FORCE_SYSTEM_BINARIES=0
sudo apt-get install g++ gcc -y

rustup target add $RUSTC_TARGET
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export VCPKG_DEFAULT_TRIPLET="x64-linux-static"
export RUSTC_TARGET="x86_64-unknown-linux-gnu"
export TARGET_ARCH="x64"
export VCPKG_FORCE_SYSTEM_BINARIES=0
sudo apt-get install g++ gcc -y

rustup target add $RUSTC_TARGET
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export VCPKG_DEFAULT_TRIPLET="arm64-osx-static"
export RUSTC_TARGET="aarch64-apple-darwin"
export TARGET_ARCH="arm64"
export VCPKG_FORCE_SYSTEM_BINARIES=0

rustup target add $RUSTC_TARGET

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export VCPKG_DEFAULT_TRIPLET="x64-osx-static"
export RUSTC_TARGET="x86_64-apple-darwin"
export TARGET_ARCH="x64"
export VCPKG_FORCE_SYSTEM_BINARIES=0

rustup target add $RUSTC_TARGET

Expand Down
6 changes: 3 additions & 3 deletions plugins/scanner/docker/Dockerfile.linux_aarch64
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM debian:bullseye
FROM ubuntu:22.04

SHELL ["/bin/bash", "-c"]

RUN apt update
RUN apt-get install -y apt-utils gnutls-bin rsync
RUN apt-get install -y apt-transport-https ca-certificates debian-archive-keyring
RUN apt-get install -y bison autoconf gettext curl unzip git wget curl zip tar
RUN apt-get install -y python3.9 python3-pip python3.9-dev libc-dev
RUN apt-get install -y clang llvm flex ninja-build lsb-release
RUN apt-get install -y python3 python3-pip python3-dev libc-dev
RUN apt-get install -y clang llvm flex ninja-build lsb-release pkg-config linux-libc-dev
RUN apt-get install -y libstdc++-10-dev cmake make libpcre2-dev gcc g++

ARG DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit e7ffcd7

Please sign in to comment.