mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
websocket: fix autobahn test to always use latest v(#6780)
This commit is contained in:
@ -11,8 +11,8 @@ services:
|
||||
container_name: autobahn_client
|
||||
build:
|
||||
#vlib/x/websocket/tests/autobahn/ws_test/Dockerfile
|
||||
dockerfile: tests/autobahn/ws_test/Dockerfile
|
||||
context: ../../
|
||||
dockerfile: vlib/x/websocket/tests/autobahn/ws_test/Dockerfile
|
||||
context: ../../../../../
|
||||
# volumes:
|
||||
# - ../../:/src
|
||||
# redis:
|
||||
|
@ -1,11 +1,12 @@
|
||||
FROM thevlang/vlang:buster-dev
|
||||
FROM thevlang/vlang:buster-build
|
||||
|
||||
# ARG WORKSPACE_ROOT
|
||||
|
||||
# WORKDIR ${WORKSPACE_ROOT}
|
||||
COPY ./ /src/
|
||||
# COPY tests/autobahn/ws_test/run.sh /run.sh
|
||||
# RUN chmod +x /run.sh
|
||||
RUN v /src/tests/autobahn/autobahn_server.v
|
||||
RUN chmod +x /src/tests/autobahn/autobahn_server
|
||||
ENTRYPOINT [ "/src/tests/autobahn/autobahn_server" ]
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
RUN make CC=clang
|
||||
|
||||
RUN /src/v /src/vlib/x/websocket/tests/autobahn/autobahn_server.v
|
||||
RUN chmod +x /src/vlib/x/websocket/tests/autobahn/autobahn_server
|
||||
ENTRYPOINT [ "/src/vlib/x/websocket/tests/autobahn/autobahn_server" ]
|
||||
|
Reference in New Issue
Block a user