Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #927 from advancedtelematic/feat/add-e2e-dockerfile
Browse files Browse the repository at this point in the history
Feat/add e2e dockerfile
  • Loading branch information
lbonn authored Aug 29, 2018
2 parents a0cfa58 + 9e926c9 commit b116275
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker/Dockerfile.e2e
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM advancedtelematic/aktualizr-base as builder

WORKDIR build

RUN cmake -DCMAKE_BUILD_TYPE=Debug ../src
RUN make
RUN make install

ENTRYPOINT ["/usr/local/bin/aktualizr"]
CMD ["--help"]
9 changes: 9 additions & 0 deletions scripts/build_and_push_dockerised_aktualizr_for_e2e.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -ex

cd ..

docker build -f docker/Dockerfile.ubuntu.xenial -t advancedtelematic/aktualizr-base .
docker build -f docker/Dockerfile.e2e -t advancedtelematic/aktualizr .
docker push advancedtelematic/aktualizr

0 comments on commit b116275

Please sign in to comment.