File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ # ## Build blockstack-core-sidecar API
1
2
FROM node:13.14.0-buster as build
2
3
WORKDIR /app
3
4
COPY . .
5
+ RUN apt-get update && apt-get install -y openjdk-11-jre-headless
4
6
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
5
7
RUN npm install
6
8
RUN npm run build
7
9
RUN npm prune --production
8
10
11
+
9
12
# ## Fetch stacks-node binary
10
13
FROM everpeace/curl-jq as stacks-node-build
11
14
ENV ARTIFACTS "http://blockstack-stacks-blockchain_artifacts.storage.googleapis.com/index.json"
@@ -16,13 +19,14 @@ RUN curl -s "$ARTIFACTS" --output ./artifacts-resp.json \
16
19
&& curl --compressed $(cat ./url) --output /stacks-node \
17
20
&& chmod +x /stacks-node
18
21
22
+
23
+ # ## Begin building base image
19
24
FROM ubuntu:focal
20
25
21
26
SHELL ["/bin/bash" , "-c" ]
22
27
23
- RUN apt-get update
24
-
25
28
# ## Install utils
29
+ RUN apt-get update
26
30
RUN apt-get install -y sudo curl pslist
27
31
28
32
# ## Set noninteractive apt-get
You can’t perform that action at this time.
0 commit comments