Skip to content

Commit 78caee3

Browse files
committed
fix: add java to follower docker build
1 parent 4311417 commit 78caee3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

follower.Dockerfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
### Build blockstack-core-sidecar API
12
FROM node:13.14.0-buster as build
23
WORKDIR /app
34
COPY . .
5+
RUN apt-get update && apt-get install -y openjdk-11-jre-headless
46
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
57
RUN npm install
68
RUN npm run build
79
RUN npm prune --production
810

11+
912
### Fetch stacks-node binary
1013
FROM everpeace/curl-jq as stacks-node-build
1114
ENV ARTIFACTS "http://blockstack-stacks-blockchain_artifacts.storage.googleapis.com/index.json"
@@ -16,13 +19,14 @@ RUN curl -s "$ARTIFACTS" --output ./artifacts-resp.json \
1619
&& curl --compressed $(cat ./url) --output /stacks-node \
1720
&& chmod +x /stacks-node
1821

22+
23+
### Begin building base image
1924
FROM ubuntu:focal
2025

2126
SHELL ["/bin/bash", "-c"]
2227

23-
RUN apt-get update
24-
2528
### Install utils
29+
RUN apt-get update
2630
RUN apt-get install -y sudo curl pslist
2731

2832
### Set noninteractive apt-get

0 commit comments

Comments
 (0)