Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use htmltest binary not build from source #516

Merged
merged 1 commit into from
Apr 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions build/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,10 @@ RUN set -eux && \
apt-get install -y jq wget zip build-essential libssl-dev pkg-config python3-pip && \
pip3 install live-server

# Install Go
WORKDIR /usr/local
ENV GO_VERSION=1.17.2
RUN wget -q https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && \
tar -xzf go${GO_VERSION}.linux-amd64.tar.gz && rm go${GO_VERSION}.linux-amd64.tar.gz
ENV PATH /usr/local/go/bin:$PATH

# Install htmltest
WORKDIR /tmp
# TODO (markmandel): replace with official release once a 0.16.0 release is created.
RUN git clone --depth=5 https://github.com/wjdp/htmltest.git && \
cd htmltest && ./build.sh && cp ./bin/htmltest /usr/local/bin/ && \
rm -r /tmp/htmltest
RUN wget -O htmltest.tar.gz https://github.com/wjdp/htmltest/releases/download/v0.16.0/htmltest_0.16.0_linux_amd64.tar.gz && \
tar -xf htmltest.tar.gz && mv ./htmltest /usr/local/bin/ && rm htmltest.tar.gz

# Install Rust
RUN wget https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init && \
Expand Down