File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM cppserverbase:latest as builder
22
33COPY . /code
4- WORKDIR /code/build
4+ WORKDIR /code/cpp/ build
55RUN cmake -DCMAKE_BUILD_TYPE=Release .. \
66 && make -j4 && mkdir -p /cppserver \
7- && cp /code/build/src/main/cpp/cpphttpserver /cppserver/cppserver \
7+ && cp /code/cpp/ build/src/main/cpp/cpphttpserver /cppserver/cppserver \
88 && rm -rf /code
99
1010WORKDIR /cppserver
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- docker build --no-cache -t cppserverhttp2talk -f docker/Dockerfile .
3+ readonly GIT_ROOT_DIR=$( git rev-parse --show-toplevel)
4+
5+ docker build --no-cache -t cppserverhttp2talk -f ${GIT_ROOT_DIR} /cpp/docker/Dockerfile .
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- docker build --no-cache -t cppserverbase -f docker/Dockerfile .
3+ readonly GIT_ROOT_DIR=$( git rev-parse --show-toplevel)
4+
5+ docker build -t cppserverbase -f ${GIT_ROOT_DIR} /cpp/docker/base/Dockerfile .
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ services:
2323
2424networks :
2525 default :
26- name : myhttp2 -network
26+ name : http2 -network
2727 attachable : true
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ readonly GIT_ROOT_DIR=$( git rev-parse --show-toplevel)
4+
5+ docker build --no-cache -t nodeserverhttp2talk -f ${GIT_ROOT_DIR} /node/docker/Dockerfile .
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments