Skip to content
Snippets Groups Projects
Commit 573e49e7 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Add docker workspace config, dockerignore build/, upgrade to dockerfile

parent 58f3531c
No related branches found
No related tags found
No related merge requests found
build/
{
"modules": {
"deps/doxygen": {},
"simox": {}
},
"global": {
"prepare": {
"cmake": {
"definitions": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
}
}
}
}
......@@ -7,5 +7,20 @@ ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Berlin
# Setup workspace in Docker.
RUN axii workspace create /workspace workspace
RUN axii workspace activate workspace
# Simulate activating the workspace.
ENV ARMARX_WORKSPACE=/workspace
# Setup repo in Docker.
RUN axii workspace create ~/workspace workspace
WORKDIR $ARMARX_WORKSPACE/simox
COPY . .
# Use workspace config.
COPY docker/armarx-workspace.json $ARMARX_WORKSPACE/armarx-workspace.json
# Run the upgrade.
RUN axii workspace system --accept-apt-install
RUN axii workspace upgrade
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment