Skip to content

Commit

Permalink
add Docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
alan23273850 committed Oct 23, 2024
1 parent ac47b4b commit 759bf4f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
./build
./benchmarks
!./benchmarks/QuantumProgram
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:latest

ENV TZ=Asia/Taipei \
DEBIAN_FRONTEND=noninteractive \
PATH="/root/AutoQ/build/cli:${PATH}"

SHELL ["/bin/bash", "-c"]
RUN apt-get update && apt-get install -y g++ make cmake libboost-filesystem-dev libboost-test-dev libboost-regex-dev python3
RUN mkdir -p /root/AutoQ
COPY . /root/AutoQ

WORKDIR /root
CMD ["/bin/bash"]

0 comments on commit 759bf4f

Please sign in to comment.