🐳 ♻️ add docker ARG BASE_IMAGE for builder

This commit is contained in:
Marcello DeSales 2023-11-23 07:53:49 -08:00
parent d98886415b
commit dc007c3438
No known key found for this signature in database
GPG Key ID: DC4E536EE3A84B25
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
##### docker buildx create --use --name multi-builder --platform linux/arm64,linux/amd64
# https://github.com/docker/buildx/issues/318#issuecomment-1023226339
#FROM --platform=$BUILDPLATFORM rustlang/rust:nightly-buster-slim as builder
FROM rustlang/rust:nightly-buster-slim as builder
ARG BASE_IMAGE
FROM ${BASE_IMAGE} AS builder
# Installing git because of the workaround for the config
# https://github.com/rust-lang/cargo/issues/10781#issuecomment-1441071052