mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2024-11-07 08:04:06 +01:00
Resolve KASM-5509 "Feature/ no staticx for squid adapter"
This commit is contained in:
parent
3167d67d35
commit
5a4020bd22
@ -18,6 +18,8 @@ files: &UNIVERSAL_CHANGE_FILES
|
||||
- src/ubuntu/install/printer/**
|
||||
- src/ubuntu/install/profile_sync/**
|
||||
- src/ubuntu/install/squid/**
|
||||
- src/ubuntu/install/squid/install/**
|
||||
- src/ubuntu/install/squid/resources/**
|
||||
- src/ubuntu/install/tools/**
|
||||
- src/ubuntu/install/webcam/**
|
||||
- src/ubuntu/install/recorder/**
|
||||
|
@ -90,11 +90,16 @@ sasldb_path: /etc/sasl2/memcached-sasldb2
|
||||
EOL
|
||||
|
||||
|
||||
COMMIT_ID="1879ba54bb5ce515d3ac9f55675ba5fc984798d0"
|
||||
COMMIT_ID="f8a1049969e7bde2fa0814eb3e5e09f4359efca1"
|
||||
BRANCH="develop"
|
||||
COMMIT_ID_SHORT=$(echo "${COMMIT_ID}" | cut -c1-6)
|
||||
|
||||
wget -qO- https://kasmweb-build-artifacts.s3.amazonaws.com/kasm_squid_adapter/${COMMIT_ID}/kasm_squid_adapter_${ARCH}_${BRANCH}.${COMMIT_ID_SHORT}.tar.gz | tar xz -C /etc/squid/
|
||||
|
||||
if [[ "${DISTRO}" == "alpine" ]]; then
|
||||
wget -qO- https://kasmweb-build-artifacts.s3.amazonaws.com/kasm_squid_adapter/${COMMIT_ID}/kasm_squid_adapter_alpine_${ARCH}_${BRANCH}.${COMMIT_ID_SHORT}.tar.gz | tar xz -C /etc/squid/
|
||||
else
|
||||
wget -qO- https://kasmweb-build-artifacts.s3.amazonaws.com/kasm_squid_adapter/${COMMIT_ID}/kasm_squid_adapter_glibc_${ARCH}_${BRANCH}.${COMMIT_ID_SHORT}.tar.gz | tar xz -C /etc/squid/
|
||||
fi
|
||||
echo "${BRANCH}:${COMMIT_ID}" > /etc/squid/kasm_squid_adapter.version
|
||||
ls -la /etc/squid
|
||||
chmod +x /etc/squid/kasm_squid_adapter
|
||||
|
Loading…
Reference in New Issue
Block a user