File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ lint: ## run hadolint against the Dockerfile
88 docker run --rm -i hadolint/hadolint < src/Dockerfile
99
1010build : # # build the docker image
11- docker build --file ./src/Dockerfile --tag aveltens/solid-server .
11+ cd src && docker build --tag aveltens/solid-server .
1212
1313inspect : build # # run a shell in the docker image
1414 docker run --rm -it --entrypoint sh aveltens/solid-server
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ ENV PROCESS_USER=node
1111ENV TEMPORARY_CERT_NAME=solid-temporary
1212
1313WORKDIR ${SOLID_HOME}
14- COPY ./src/ entrypoint.sh ./entrypoint.sh
15- COPY ./src/ checks.sh ./checks.sh
16- COPY ./src/ create-temporary-cert.sh ./create-temporary-cert.sh
14+ COPY ./entrypoint.sh ./entrypoint.sh
15+ COPY ./checks.sh ./checks.sh
16+ COPY ./create-temporary-cert.sh ./create-temporary-cert.sh
1717RUN chown --recursive ${PROCESS_USER}:${PROCESS_USER} ${SOLID_HOME}
1818
1919USER ${PROCESS_USER}
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- docker build --build-arg SOLID_SERVER_VERSION=${SOURCE_BRANCH} -f Dockerfile -t $IMAGE_NAME .
3+ echo building version ${SOURCE_BRANCH} with image name $IMAGE_NAME .
4+
5+ docker build --build-arg SOLID_SERVER_VERSION=${SOURCE_BRANCH} --file Dockerfile -t $IMAGE_NAME .
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ def client():
77
88@pytest .fixture (scope = "session" )
99def image (client ):
10- img , _ = client .images .build (path = './' , dockerfile = 'src/ Dockerfile' )
10+ img , _ = client .images .build (path = './src ' , dockerfile = 'Dockerfile' )
1111 return img
You can’t perform that action at this time.
0 commit comments