1 # SPDX-License-Identifier: EPL-1.0
2 ##############################################################################
3 # Copyright (c) 2021 The Linux Foundation and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Eclipse Public License v1.0
7 # which accompanies this distribution, and is available at
8 # http://www.eclipse.org/legal/epl-v10.html
9 ##############################################################################
13 WORKDIR /opt/opendaylight
17 RUN groupadd -r karaf --gid=8181 && \
18 useradd -rm -g karaf --uid=8181 karaf && \
19 chown -R karaf:karaf .
23 CMD ["bin/karaf", "run"]