Skip to content

Commit

Permalink
Fix docker warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jul 3, 2024
1 parent 6d7d515 commit 3e9e080
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile.backend
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 3e9e080

Please sign in to comment.