mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
fix: dockerfile deprecated features issue (#71)
This commit is contained in:
@@ -16,7 +16,7 @@ COPY . .
|
||||
|
||||
RUN rm -rf src/synctx && pnpm run -F operations build
|
||||
|
||||
FROM node:18-slim as builder-synctx
|
||||
FROM node:18-slim AS builder-synctx
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
@@ -35,9 +35,9 @@ RUN apt-get update \
|
||||
&& oclif pack tarballs --targets="${OCLIF_TARGET}" \
|
||||
&& tar -xvf dist/synctx-*.tar.gz
|
||||
|
||||
FROM node:18-slim as release
|
||||
FROM node:18-slim AS release
|
||||
|
||||
ENV NODE_ENV production
|
||||
ENV NODE_ENV=production
|
||||
ENV PATH="${PATH}:/opt/synctx/bin"
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
# G O + R U S T B U I L D E R
|
||||
#
|
||||
###############################
|
||||
FROM golang:1.22.2-alpine as go-builder
|
||||
FROM golang:1.22.2-alpine AS go-builder
|
||||
|
||||
RUN apk add --no-cache rust cargo bash make
|
||||
WORKDIR /usr/src/
|
||||
COPY --from=corset . ./corset
|
||||
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL sparse
|
||||
ENV CARGO_HOME /usr/local/cargo
|
||||
ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||
ENV CARGO_HOME=/usr/local/cargo
|
||||
|
||||
WORKDIR /usr/src/corset/
|
||||
|
||||
@@ -55,8 +55,8 @@ COPY --from=go-builder /usr/src/prover/bin/controller /opt/linea/prover/controll
|
||||
RUN mkdir -p /opt/linea/prover/config
|
||||
|
||||
# Useful ENV variables that you may want to pass at runtime
|
||||
ENV GOMEMLIMIT 340GiB
|
||||
ENV CONFIG_FILE "/opt/linea/prover/config/config.toml"
|
||||
ENV GOMEMLIMIT=340GiB
|
||||
ENV CONFIG_FILE="/opt/linea/prover/config/config.toml"
|
||||
|
||||
ENV PATH="${PATH}:/opt/linea/prover/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user