-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Race detector doesn't work on alpine. See golang/go#14481
- Loading branch information
Showing
10 changed files
with
70 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM golang:1-alpine | ||
FROM circleci/golang:1-node | ||
USER root | ||
|
||
RUN apk add --update bash git | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV GOPATH /root/gopath | ||
ENV GOFLAGS -mod=readonly | ||
|
||
# Autobahn Test suite. | ||
RUN apk add py2-pip python2-dev gcc libffi-dev libc-dev openssl-dev && \ | ||
pip install autobahntestsuite | ||
COPY . /tmp/websocket | ||
RUN cd /tmp/websocket && go mod download && rm -rf | ||
|
||
# prettier. | ||
RUN apk add npm && npm install -g prettier | ||
RUN apt-get update && \ | ||
apt-get install -y shellcheck python-pip && \ | ||
pip2 install autobahntestsuite && \ | ||
npm install -g prettier | ||
|
||
# shellcheck | ||
RUN apk add xz curl && \ | ||
curl -o /tmp/shellcheck.tar.xz -L https://storage.googleapis.com/shellcheck/shellcheck-stable.linux.x86_64.tar.xz && \ | ||
tar -xf /tmp/shellcheck.tar.xz && \ | ||
ln -s "${PWD}/shellcheck-stable/shellcheck" /usr/local/bin/shellcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters