-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to v2.4.3 framework images and add slem build script (#120)
- Loading branch information
1 parent
dd1ffef
commit f477dde
Showing
7 changed files
with
98 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# slem | ||
|
||
slem base image needs to built on the slem server. | ||
A registration code is need to build the slem base image. | ||
|
||
./build.sh <REGISTRATION_CODE> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
REGISTRATION_CODE=$1 | ||
mkdir /var/slem | ||
cd /var/slem | ||
mkdir repos | ||
mkdir services | ||
cd repos/ | ||
mkdir SUSE | ||
mkdir opensuse | ||
cd SUSE | ||
cp /etc/zypp/repos.d/SUSE*.repo . | ||
cd ../../services/ | ||
cp /etc/zypp/services.d/*.service . | ||
cd ../repos/opensuse/ | ||
cat > opensuse-oss.repo <<EOF | ||
[opensuse-oss] | ||
enabled=1 | ||
autorefresh=0 | ||
baseurl=http://download.opensuse.org/distribution/leap/15.5/repo/oss/ | ||
EOF | ||
cd ../.. | ||
SUSEConnect -r $REGISTRATION_CODE | ||
systemctl restart docker | ||
transactional-update -n pkg install docker | ||
transactional-update -n register -p PackageHub/15.4/x86_64 | ||
docker build -t slem-base-image:v243 . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters