File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM jekyll/jekyll
1+ FROM jekyll/jekyll:3.1.3
22ADD site /srv/jekyll
Original file line number Diff line number Diff line change 3636 <command >#!/bin/bash
3737
3838# Run the container we just built
39- docker run -d --name=test-container-${BUILD_NUMBER} -p 80:80 mesosphere/cd-demo-app:${GIT_COMMIT}
39+ docker run -d --name=test-container-${BUILD_NUMBER} mesosphere/cd-demo-app:${GIT_COMMIT}
4040
4141# Grab IP address
4242ip_address=$(docker inspect test-container-${BUILD_NUMBER} | jq -r ' .[0].NetworkSettings.IPAddress' )
4343
4444# Run linkchecker against website
45- docker run mesosphere/linkchecker linkchecker --no-warnings http://$ip_address/
45+ docker run mesosphere/linkchecker linkchecker --no-warnings http://$ip_address:4000 /
4646
4747# Linkchecker exist with exit status 1 if it detects broken links
4848exit_status=$?
Original file line number Diff line number Diff line change 55 "network" : " BRIDGE" ,
66 "portMappings" : [
77 {
8- "containerPort" : 80 ,
8+ "containerPort" : 4000 ,
99 "protocol" : " tcp"
1010 }
1111 ]
2626 "id" : " cd-demo-app" ,
2727 "instances" : 1 ,
2828 "labels" : {
29- "HAPROXY_0_VHOST" : " 52.37.191.145 " ,
29+ "HAPROXY_0_VHOST" : " sunil-ns1-publicsl-kvcfx6v2vw91-1799412267.us-west-2.elb.amazonaws.com " ,
3030 "HAPROXY_GROUP" : " external" ,
3131 "lastChangedBy" :
" [email protected] " 3232 },
You can’t perform that action at this time.
0 commit comments