docker: update Rust to v1.65.0

This commit is contained in:
Waldemar Heinze 2022-11-25 10:07:50 +01:00 committed by GitHub
parent a4408cfacc
commit a3a27f0049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View File

@ -1,4 +1,4 @@
FROM rust:1.62-slim-bullseye FROM rust:1.65-slim-bullseye
# Set needed env path # Set needed env path
ENV PATH="/opt/aarch64-linux-musl-cross/:/opt/aarch64-linux-musl-cross/bin/:/opt/x86_64-linux-musl-cross/:/opt/x86_64-linux-musl-cross/bin/:$PATH" ENV PATH="/opt/aarch64-linux-musl-cross/:/opt/aarch64-linux-musl-cross/bin/:/opt/x86_64-linux-musl-cross/:/opt/x86_64-linux-musl-cross/bin/:$PATH"

View File

@ -19,7 +19,7 @@ on:
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
# In total 5 jobs, all of the jobs are containerized # In total 5 jobs, all the jobs are containerized
# --- # ---
# build-ui , create/compile the web # build-ui , create/compile the web
@ -32,8 +32,8 @@ env:
# builds-armhf, build-aarch64, build-amd64 create binary for respective arch # builds-armhf, build-aarch64, build-amd64 create binary for respective arch
## Use rustlang/rust:nightly image ## Use rustlang/rust:nightly image
### Add non native architecture dpkg --add-architecture XXX ### Add non-native architecture dpkg --add-architecture XXX
### Install dev tool gcc g++, etc per respective arch ### Install dev tool gcc g++, etc. per respective arch
### Cargo build ### Cargo build
### Upload artifacts ### Upload artifacts
@ -55,7 +55,7 @@ jobs:
build-ui: build-ui:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: rust:1.62 image: rust:1.65
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
RUSTFLAGS: -Ctarget-feature=+crt-static RUSTFLAGS: -Ctarget-feature=+crt-static
@ -100,7 +100,7 @@ jobs:
build-armhf: build-armhf:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: rust:1.62 image: rust:1.65
env: env:
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER: arm-linux-gnueabihf-gcc
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_MUSLEABIHF_LINKER: arm-linux-gnueabihf-ld CARGO_TARGET_ARMV7_UNKNOWN_LINUX_MUSLEABIHF_LINKER: arm-linux-gnueabihf-ld
@ -151,11 +151,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
################################################################################## ##################################################################################
# Github actions currently timeout when downloading musl-gcc # # GitHub actions currently timeout when downloading musl-gcc #
# Using lldap dev image based on rust:1.62-slim-bullseye and musl-gcc bundled # # Using lldap dev image based on rust:1.65-slim-bullseye and musl-gcc bundled #
# Only for Job build aarch64 and amd64 # # Only for Job build aarch64 and amd64 #
################################################################################### ###################################################################################
#image: rust:1.62 #image: rust:1.65
image: nitnelave/rust-dev:latest image: nitnelave/rust-dev:latest
env: env:
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-musl-gcc CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER: aarch64-linux-musl-gcc
@ -205,7 +205,7 @@ jobs:
build-amd64: build-amd64:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
# image: rust:1.62 # image: rust:1.65
image: nitnelave/rust-dev:latest image: nitnelave/rust-dev:latest
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always