mirror of https://github.com/boa-dev/boa.git
Jason Williams
6 years ago
5 changed files with 45 additions and 4 deletions
@ -0,0 +1,5 @@
|
||||
root = true |
||||
|
||||
[{Makefile,**.mk}] |
||||
# Use tabs for indentation (Makefiles require tabs) |
||||
indent_style = tab |
@ -0,0 +1,21 @@
|
||||
FROM rust:latest |
||||
|
||||
WORKDIR /usr/src/myapp |
||||
COPY . . |
||||
|
||||
# LLDB Server |
||||
EXPOSE 9228 |
||||
|
||||
RUN apt-get update \ |
||||
apt-get upgrade \ |
||||
apt-get install -y software-properties-common |
||||
|
||||
# https://askubuntu.com/questions/787383/how-to-install-llvm-3-9 |
||||
# http://apt.llvm.org/ |
||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - |
||||
RUN apt-add-repository "deb http://apt.llvm.org/stretch/ llvm-toolchain-stretch-6.0 main" |
||||
RUN apt-get update |
||||
RUN apt-get install clang-6.0 lldb-6.0 |
||||
|
||||
|
||||
CMD ["/bin/bash"] |
@ -0,0 +1,14 @@
|
||||
docker-build: |
||||
docker build --tag boa .
|
||||
|
||||
docker-container: |
||||
docker create --tty --interactive \
|
||||
--name boa \
|
||||
--hostname boa \
|
||||
--volume ${PWD}/:/usr/src/myapp \
|
||||
--publish 9228:9228 \
|
||||
boa
|
||||
|
||||
docker-clean: |
||||
docker rm boa || echo "no container"
|
||||
docker rmi boa || echo "no image"
|
Loading…
Reference in new issue