Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demos/c_api_minimal_app/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ clean:
from_docker:
mkdir -p capi/$(DIST_OS)
docker run $(OVMS_CPP_DOCKER_IMAGE)-pkg:$(OVMS_CPP_IMAGE_TAG) bash -c \
"tar -c -C /ovms_pkg/$(BASE_OS) ovms.tar.gz ; sleep 2" | tar -x -C capi/$(DIST_OS)/ && cd ../../
"tar -c -C /ovms_pkg/$(BASE_OS) ovms.tar ; sleep 2" | tar -x -C capi/$(DIST_OS)/ && cd ../../
Comment on lines 45 to +46
-docker rm -v $$(docker ps -a -q -f status=exited -f ancestor=$(OVMS_CPP_DOCKER_IMAGE)-pkg:$(OVMS_CPP_IMAGE_TAG))

from_web:
Expand Down
4 changes: 2 additions & 2 deletions demos/c_api_minimal_app/capi_files/Dockerfile.redhat
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ FROM $BASE_IMAGE as base_build
SHELL ["/bin/bash", "-c"]
RUN yum install -y xz git shadow-utils make gcc gcc-c++
WORKDIR /
COPY ovms.tar.gz /
COPY ovms.tar /
RUN env
RUN tar -xf ovms.tar.gz
RUN tar -xf ovms.tar
Comment on lines +22 to +24
RUN groupadd --gid 5000 ovms && \
useradd --home-dir /home/ovms --create-home --uid 5000 --gid 5000 --shell /bin/bash --skel /dev/null ovms && \
chown -R ovms:ovms /ovms
Expand Down
4 changes: 2 additions & 2 deletions demos/c_api_minimal_app/capi_files/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ SHELL ["/bin/bash", "-xo", "pipefail", "-c"]
RUN groupadd --gid 5000 ovms && useradd --home-dir /home/ovms --create-home --uid 5000 \
--gid 5000 --shell /bin/bash --skel /dev/null ovms

COPY ovms.tar.gz /
RUN tar -xf ovms.tar.gz
COPY ovms.tar /
RUN tar -xf ovms.tar
Comment on lines +25 to +26
RUN chown -R ovms:ovms /ovms
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #

Expand Down