Skip to content

Commit 33e2f7d

Browse files
authored
Merge pull request #106 from seemethere/remove_ads
[TAR-571] Remove the ads
2 parents cfba462 + 68f4a40 commit 33e2f7d

1 file changed

Lines changed: 0 additions & 35 deletions

File tree

install.sh

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -202,39 +202,6 @@ ee_notice() {
202202
echo
203203
}
204204

205-
ee_promo() {
206-
# Randomly select an advertisement
207-
echo
208-
echo "** DOCKER ENGINE - ENTERPRISE **"
209-
echo
210-
SHORT_URL=""
211-
case $(shuf -i 0-1 -n 1) in
212-
0)
213-
echo "Test drive additional security features by activating Docker Engine - Enterprise."
214-
echo
215-
echo " * Leverage FIPS 140-2 validated encryption"
216-
echo " * Run only trusted images with digital signature enforcement"
217-
SHORT_URL="https://dockr.ly/engine1"
218-
;;
219-
1)
220-
echo "If you’re ready for production workloads, Docker Engine - Enterprise also includes:"
221-
echo
222-
echo " * SLA-backed technical support"
223-
echo " * Extended lifecycle maintenance policy for patches and hotfixes"
224-
echo " * Access to certified ecosystem content"
225-
SHORT_URL="https://dockr.ly/engine2"
226-
;;
227-
esac
228-
echo
229-
echo "** Learn more at ${SHORT_URL} **"
230-
echo
231-
echo "ACTIVATE your own engine to Docker Engine - Enterprise using:"
232-
echo
233-
echo " sudo docker engine activate"
234-
echo
235-
sleep 10
236-
}
237-
238205
do_install() {
239206
echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA"
240207

@@ -410,7 +377,6 @@ do_install() {
410377
$sh_c "apt-get install -y -qq --no-install-recommends docker-ce$pkg_version >/dev/null"
411378
)
412379
echo_docker_as_nonroot
413-
ee_promo
414380
exit 0
415381
;;
416382
centos|fedora)
@@ -474,7 +440,6 @@ do_install() {
474440
$sh_c "$pkg_manager install -y -q docker-ce$pkg_version"
475441
)
476442
echo_docker_as_nonroot
477-
ee_promo
478443
exit 0
479444
;;
480445
esac

0 commit comments

Comments
 (0)