Skip to content

Commit

Permalink
Adjust base image args
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Jan 10, 2025
1 parent 796ded1 commit 3fb252e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG DEBIAN_VERSION=bookworm
ARG GOLANG_VERSION=1.21
ARG BUILD_IMAGE=golang:${GOLANG_VERSION}-${DEBIAN_VERSION}
ARG DEBIAN_IMAGE=debian:${DEBIAN_VERSION}-slim
ARG BUILD_METHOD=source
ARG BASE_IMAGE=copy_build
ARG BASE_IMAGE=debian:${DEBIAN_VERSION}-slim
ARG BASE_METHOD=copy_build

#
# Default build environment for standard Tendermint chains
Expand Down Expand Up @@ -86,9 +86,9 @@ RUN curl -Lo release.zip https://github.com/InjectiveLabs/injective-chain-releas
FROM build_${BUILD_METHOD} AS build

#
# Base debian image
# Base image
#
FROM ${DEBIAN_IMAGE} AS base
FROM ${BASE_IMAGE} AS base

#
# Base image copying build artifacts
Expand All @@ -104,7 +104,7 @@ COPY --from=build /data/deps/ /
#
# Final Omnibus image
#
FROM ${BASE_IMAGE} AS omnibus
FROM ${BASE_METHOD} AS omnibus
LABEL org.opencontainers.image.source=https://github.com/akash-network/cosmos-omnibus

RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion generic/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
build:
context: ../
args:
BASE_IMAGE: base
BASE_METHOD: base
ports:
- '26656:26656'
- '26657:26657'
Expand Down

0 comments on commit 3fb252e

Please sign in to comment.