Skip to content

Commit

Permalink
builds: cleanup duplicate and unused code, fix spelling
Browse files Browse the repository at this point in the history
Few extremely minor updates to the ubuntu dockerfile and ci builds
  • Loading branch information
niftynei committed Sep 9, 2022
1 parent 99c42e2 commit da10674
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
-e VALGRIND=${{ matrix.valgrind }} \
-e DEVELOPER=1 \
-e EXPERIMENTAL_FEATURES=1 \
-e COMPA=0 \
-e COMPAT=0 \
-e PYTEST_PAR=2 \
-e PYTEST_OPTS="--timeout=300" \
-e TEST_CMD="make check-protos" \
Expand Down
4 changes: 1 addition & 3 deletions contrib/docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ LABEL mantainer="Vincenzo Palazzo vincenzopalazzodev@gmail.com"

WORKDIR /work

COPY . .

ENV DEBIAN_FRONTEND=noninteractive
ENV LANGUAGE=en_US.UTF-8
ENV LANG=en_US.UTF-8
Expand All @@ -23,7 +21,7 @@ RUN locale-gen en_US.UTF-8 && dpkg-reconfigure --frontend noninteractive tzdata

COPY . .

# install package for pytho cryptography lib
# install package for python cryptography lib
# https://cryptography.io/en/latest/installation/#debian-ubuntu

RUN apt-get -qq update && \
Expand Down
5 changes: 0 additions & 5 deletions contrib/docker/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ export ELEMENTS_VERSION=0.18.1.8
export RUST_VERSION=nightly
export TZ="Europe/London"

sudo useradd -ms /bin/bash tester

sudo apt-get update -qq

sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
Expand Down Expand Up @@ -54,9 +52,6 @@ sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
zlib1g-dev


echo "tester ALL=(root) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/tester
sudo chmod 0440 /etc/sudoers.d/tester

(
cd /tmp/ || exit 1
wget https://storage.googleapis.com/c-lightning-tests/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.bz2
Expand Down

0 comments on commit da10674

Please sign in to comment.