Skip to content

Commit

Permalink
Merge branch 'main' into edge-standard
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Jul 25, 2024
2 parents 580cfb2 + 4578a0c commit df67542
Show file tree
Hide file tree
Showing 21 changed files with 1,140 additions and 114 deletions.
1 change: 1 addition & 0 deletions .arg.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ PROXY_CERT_PATH=
UPDATE_KERNEL=false
CLUSTERCONFIG=spc.tgz
CIS_HARDENING=false
EDGE_CUSTOM_CONFIG=.edge-custom-config.yaml

# If you have Ubuntu Pro, use the UBUNTU_PRO_KEY variable to activate it as part of the image build
# UBUNTU_PRO_KEY=your-key
Expand Down
5 changes: 5 additions & 0 deletions .edge-custom-config.yaml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
content:
signing:
publicKey:
base64EncodedValue: ""
description: "This is a public key used for signing content and cluster-config"
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ content-*/*
*.arg
.idea
.DS_Store

hack/*.img
test/.env
two-node-create.json
two-node-update.json

build/
local/
keys/
Expand Down
14 changes: 12 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN if [ "${OS_DISTRIBUTION}" = "opensuse-leap" ] && [ "${PROXY_CERT_PATH}" != "
update-ca-certificates; \
fi

###########################Add any other image customizations here #######################
########################### Add any other image customizations here #######################

#### Examples ####

Expand All @@ -37,8 +37,18 @@ RUN if [ "${OS_DISTRIBUTION}" = "opensuse-leap" ] && [ "${PROXY_CERT_PATH}" != "
# && apt-get clean

# RUN apt-get update && apt-get install nginx -y
### or

### To install the nginx package for opensuse ###

# RUN zypper refresh && zypper install nginx -y

### To add a custom health script for two-node liveness checks ###

# ADD overlay/files/opt/spectrocloud/bin/check-disk-size.sh /opt/spectrocloud/bin/

### To install wifi prerequisites for Ubuntu ###

# RUN apt-get update && apt-get install wpasupplicant -y && \
# apt-get update && apt-get install network-manager -y && \
# apt-get install iputils-ping -y && \
# mkdir /var/lib/wpa
Loading

0 comments on commit df67542

Please sign in to comment.