Skip to content
Snippets Groups Projects
bionic 799 B
Newer Older
FROM git.h2t.iar.kit.edu:5050/sw/armarx/meta/axii:latest-bionic

# Setup environment.
SHELL ["/bin/bash", "-c"]
ENV LC_ALL C.UTF-8
ENV LANG C.UTF-8
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Berlin

# Setup apt environment.
RUN apt-get -qq update

# 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.
COPY --chmod=755 . .

# Use workspace config.
COPY docker/armarx-workspace.json $ARMARX_WORKSPACE/armarx-workspace.json

# Run the upgrade.
RUN axii workspace system --accept-apt-install
Rainer Kartmann's avatar
Rainer Kartmann committed
# ToDo: Prevent this from updating Simox itself.
RUN axii workspace update --prefer-https