File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,24 @@ ENV GOPATH=/opt/algorand/go
1111ENV DEBIAN_FRONTEND="noninteractive" TZ="Europe/London"
1212
1313RUN <<-EOF
14- apt-get -y update && \
15- apt-get -y install \
16- curl \
17- git \
18- make \
19- gcc \
20- g++ \
21- pkg-config \
22- libboost-dev \
23- autoconf \
24- automake \
25- python3
14+ set -e
15+ apt-get -y update && apt-get -y install \
16+ curl \
17+ git \
18+ make \
19+ gcc \
20+ g++ \
21+ pkg-config \
22+ libboost-dev \
23+ autoconf \
24+ automake \
25+ python3
2626 curl -L -o /tmp/go-linux-amd64.tar.gz https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz
2727 tar -C /usr/local -xf /tmp/go-linux-amd64.tar.gz
2828EOF
2929
3030RUN <<-EOF
31+ set -e
3132 git clone --branch "$ALGORAND_VERSION" https://github.com/algorand/go-algorand.git
3233 cd go-algorand
3334 ./scripts/configure_dev.sh
@@ -43,15 +44,14 @@ RUN <<-EOF
4344EOF
4445
4546RUN <<-EOF
47+ set -e
4648 mkdir -p /opt/algorand/.algorand
4749 touch /opt/algorand/.algorand/algod.token
4850 touch /opt/algorand/.algorand/algod.admin.token
4951EOF
5052
5153COPY scripts/entrypoint.go /tmp/entrypoint.go
52- RUN <<-EOF
53- go build -o /tmp/entrypoint /tmp/entrypoint.go
54- EOF
54+ RUN go build -o /tmp/entrypoint /tmp/entrypoint.go
5555
5656FROM gcr.io/distroless/static-debian12:nonroot@sha256:cdf4daaf154e3e27cfffc799c16f343a384228f38646928a1513d925f473cb46 as final
5757
You can’t perform that action at this time.
0 commit comments