Skip to content

Commit

Permalink
fix: Teku and Lighthouse import keys container error on Windows (#398)
Browse files Browse the repository at this point in the history
* fix: error for Lighthouse and Teku in Windows

* doc: update CHANGELOG.md

* doc: Update CHANGELOG.md

Co-authored-by: Miguel Tenorio <[email protected]>

---------

Co-authored-by: Miguel Tenorio <[email protected]>
  • Loading branch information
khalifaa55 and AntiD2ta authored Jul 24, 2024
1 parent e92f92e commit aef5ceb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Teku and Lighthouse import keys container error on Windows.

## [v1.4.0] - 2024-07-10

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /
ARG LH_VERSION
ARG NETWORK

RUN apt-get update && apt-get install -y curl
RUN apt-get update && apt-get install -y curl dos2unix bash

RUN version=$(echo $LH_VERSION | cut -d':' -f 2) \
&& curl -L https://github.com/sigp/lighthouse/releases/download/$version/lighthouse-$version-x86_64-unknown-linux-gnu.tar.gz --output lh.gz
Expand All @@ -14,6 +14,8 @@ RUN tar -xvf lh.gz

COPY validator-init.sh .

RUN dos2unix validator-init.sh

RUN chmod +x validator-init.sh

ENV VAL_NETWORK=$NETWORK
Expand Down
2 changes: 2 additions & 0 deletions internal/images/validator-import/teku/context/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ COPY validator-init.sh /scripts

WORKDIR /scripts

RUN dos2unix validator-init.sh

RUN chmod +x validator-init.sh

CMD ["/bin/sh", "validator-init.sh"]

0 comments on commit aef5ceb

Please sign in to comment.