Commit 5042aa9a authored by Yann Garcia's avatar Yann Garcia
Browse files

Enhance virtualization/docker procedure

parent 9a282ebd
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2,12 +2,6 @@
	"folders": [
		{
			"path": "."
		},
		{
			"path": "../../frameworks/xmlsec"
		},
		{
			"path": "../../frameworks/cise-sim"
		}
	],
	"settings": {
+1 −1
Original line number Diff line number Diff line
#!/bin/bash
#set -e
#set -vx
set -vx

clear

Original line number Diff line number Diff line
Subproject commit 0a28ff34d9ca15d6ed481dad98485210e4d6e179
Subproject commit c4d93f6e22d71386d5a5949ba1bd447e728ea060
+3 −3
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@ RUN apk update && \

# Create user and sudouser
RUN \
    addgroup -g 1000 etsi && \
    adduser -S -D -u 1000 -G etsi -h /home/etsi -s /bin/bash etsi && \
    addgroup -g 1001 etsi && \
    adduser -S -D -u 1001 -G etsi -h /home/etsi -s /bin/bash etsi && \
    echo "etsi:etsi" | chpasswd  && \
    echo "etsi ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers || exit 1 
USER etsi
@@ -49,4 +49,4 @@ ENV ATS=AtsCise

EXPOSE 30181/tcp

ENTRYPOINT /home/$USER/dev/cise/virtualization/docker/docker-entrypoint.sh
ENTRYPOINT /home/etsi/dev/cise-data-model/virtualization/docker/docker-entrypoint.sh
+1 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

#set +vx
set -euo pipefail

cli="${GEN_DIR}/bin/AtsCise"