From 3e9e080baa1ffcd173b786215fb19d5c5fa69646 Mon Sep 17 00:00:00 2001 From: Milot Mirdita Date: Wed, 3 Jul 2024 16:44:21 +0900 Subject: [PATCH] Fix docker warnings --- Dockerfile.backend | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.backend b/Dockerfile.backend index 4c9a083..bfbce16 100644 --- a/Dockerfile.backend +++ b/Dockerfile.backend @@ -1,23 +1,23 @@ ARG FRONTEND_APP ARG downloader=${FRONTEND_APP}_downloader -FROM scratch as mmseqs_downloader +FROM scratch AS mmseqs_downloader WORKDIR /opt/build ONBUILD ADD https://mmseqs.com/latest/mmseqs-linux-avx2.tar.gz . ONBUILD ADD https://mmseqs.com/latest/mmseqs-linux-sse41.tar.gz . ONBUILD ADD https://mmseqs.com/latest/mmseqs-linux-sse2.tar.gz . ONBUILD ADD https://mmseqs.com/latest/mmseqs-linux-arm64.tar.gz . -FROM scratch as foldseek_downloader +FROM scratch AS foldseek_downloader WORKDIR /opt/build ONBUILD ADD https://mmseqs.com/foldseek/foldseek-linux-avx2.tar.gz . #ONBUILD ADD https://mmseqs.com/foldseek/foldseek-linux-sse41.tar.gz . ONBUILD ADD https://mmseqs.com/foldseek/foldseek-linux-sse2.tar.gz . ONBUILD ADD https://mmseqs.com/foldseek/foldseek-linux-arm64.tar.gz . -FROM $downloader as downloader +FROM $downloader AS downloader -FROM --platform=$BUILDPLATFORM golang:latest as builder +FROM --platform=$BUILDPLATFORM golang:latest AS builder ARG TARGETARCH ARG FRONTEND_APP