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
FROM ubuntu:14.04 | |
MAINTAINER Menmo <teknik@menmo.se> | |
# Keep upstart from complaining | |
RUN dpkg-divert --local --rename --add /sbin/initctl | |
RUN ln -sf /bin/true /sbin/initctl | |
# Let the container know that there is no tty | |
ENV DEBIAN_FRONTEND noninteractive |
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
FROM ubuntu:14.04 | |
MAINTAINER Menmo <teknik@menmo.se> | |
# Keep upstart from complaining | |
RUN dpkg-divert --local --rename --add /sbin/initctl | |
RUN ln -sf /bin/true /sbin/initctl | |
# Let the container know that there is no tty | |
ENV DEBIAN_FRONTEND noninteractive | |
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
public static registerBinding(name:string, cls:typeof Graph):void { | |
ko.bindingHandlers[name] = { | |
init: (element:HTMLElement, valueAccessor:() => any):void => { | |
$(element).data(name, new cls(element, valueAccessor)); | |
}, | |
update: (element:HTMLElement, valueAccessor:() => any):void => { | |
$(element).data(name).update(element, valueAccessor); | |
} | |
}; |
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
if [ -z "$1" ]; then | |
echo "Service name missing" | |
exit 1 | |
fi | |
service_name="$1" | |
old_container_id=$(docker-compose ps -q $service_name | tail -n1) | |
docker-compose pull $service_name |