Skip to content

Commit

Permalink
Enclave home, remove /opt/swisstronik on rm
Browse files Browse the repository at this point in the history
  • Loading branch information
delneg committed Nov 10, 2023
1 parent 2e63868 commit 2d7b45f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
cache-to: type=gha,mode=max
build-args: |
SGX_MODE=HW
ENCLAVE_HOME="/usr/lib/"
target: build-deb
- name: Run .deb Package Image
run: |
Expand Down
1 change: 1 addition & 0 deletions deb/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ set -e
systemctl stop swisstronik-node || true
systemctl disable swisstronik-node || true
rm -f /etc/systemd/system/swisstronik-node.service || true
rm -r /opt/swisstronik/ || true
systemctl daemon-reload || true
4 changes: 3 additions & 1 deletion docker/node.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ RUN make build
############ Node binary for deb package
FROM compile-base as build-deb

ARG BUILD_VERSION="v1.0.0"
ARG BUILD_VERSION="v1.0.1"
ENV VERSION=${BUILD_VERSION}
ARG DEB_BIN_DIR=/usr/local/bin
ENV DEB_BIN_DIR=${DEB_BIN_DIR}
ARG DEB_LIB_DIR=/usr/lib
ENV DEB_LIB_DIR=${DEB_LIB_DIR}
ARG ENCLAVE_HOME=${DEB_LIB_DIR}
ARG ENCLAVE_HOME=${ENCLAVE_HOME}

WORKDIR /root

Expand Down

0 comments on commit 2d7b45f

Please sign in to comment.