File tree 2 files changed +15
-6
lines changed
resources/maintainer_scripts
2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change
1
+ FROM casperlabs/node-build-u1804
2
+ COPY . /src
3
+ RUN cd src && cargo build --release
4
+
5
+ FROM ubuntu:bionic
6
+ LABEL vendor=CasperLabs \
7
+ description="This container holds casper-node-launcher and scripts for operation of a node on the Casper Network."
8
+
9
+ WORKDIR /root/
10
+ RUN apt-get update && \
11
+ apt-get install -y --no-install-recommends curl && \
12
+ rm -rf /var/lib/apt/lists/
13
+
14
+ COPY --from=0 /src/target/release/casper-node-launcher .
15
+ COPY ./resources/maintainer_scripts/*.sh /root/
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- set -e
4
-
5
3
# This script will pull casper-node software and associated files required to run or upgrade
6
4
# casper-node.
7
5
@@ -96,7 +94,3 @@ echo "Removing $CONFIG_ARCHIVE_PATH"
96
94
rm " $CONFIG_ARCHIVE_PATH "
97
95
98
96
echo " Process Complete."
99
- echo " "
100
- echo " Creating $ETC_FULL_PATH /config.toml by using config_from_example.sh."
101
- cd " $ETC_PATH "
102
- ./config_from_example.sh $SEMVER
You can’t perform that action at this time.
0 commit comments