Skip to content

Commit dd98860

Browse files
committed
Move docker container to same scripts.
1 parent b26c0a1 commit dd98860

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ WORKDIR /app
44

55
# copy csproj and restore as distinct layers
66
COPY . .
7-
RUN /root/.dotnet/dotnet restore
8-
RUN /root/.dotnet/dotnet build -c Release -f netstandard1.4 src/progaudi.tarantool/progaudi.tarantool.csproj
9-
RUN /root/.dotnet/dotnet build -c Release -f netcoreapp1.0 tests/progaudi.tarantool.tests/progaudi.tarantool.tests.csproj
10-
RUN /root/.dotnet/dotnet build -c Release -f netcoreapp1.1 tests/progaudi.tarantool.tests/progaudi.tarantool.tests.csproj
7+
RUN /app/scripts/build-netcore.sh

docker-compose.tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '2'
33
services:
44
tarantool-client:
55
build: .
6-
command: dotnet test -c Release tests/progaudi.tarantool.tests/progaudi.tarantool.tests.csproj
6+
command: /app/scripts/test-netcore.sh
77
environment:
88
TARANTOOL_REPLICATION_SOURCE: "tarantool:3301"
99
links:

0 commit comments

Comments
 (0)