mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 06:48:08 +08:00
0.12.5-0; python issue fixed
This commit is contained in:
@@ -3,7 +3,7 @@ MAINTAINER Bitnami <containers@bitnami.com>
|
||||
|
||||
ENV BITNAMI_APP_NAME=node \
|
||||
BITNAMI_APP_USER=bitnami \
|
||||
BITNAMI_APP_VERSION=0.12.4-2-r03 \
|
||||
BITNAMI_APP_VERSION=0.12.5-0 \
|
||||
BITNAMI_APP_DIR=$BITNAMI_PREFIX/nodejs
|
||||
|
||||
ENV PATH=$BITNAMI_PREFIX/python/bin:$BITNAMI_APP_DIR/bin:$BITNAMI_PREFIX/common/bin:$PATH
|
||||
|
||||
@@ -1 +1 @@
|
||||
8e4985b0f8864f04571ece1fd157fe7b8a3ad2ce5b41876d7e510fcbe03f93cf /tmp/installer.run
|
||||
bd7ae5ef067569a9707831a670a6f30fa6ea0e07a6978d218a73b4032dc63cf0 /tmp/installer.run
|
||||
|
||||
@@ -47,7 +47,6 @@ teardown() {
|
||||
}
|
||||
|
||||
@test "python installed" {
|
||||
skip
|
||||
run docker exec $CONTAINER_NAME python -v
|
||||
[ "$status" = 0 ]
|
||||
}
|
||||
@@ -68,7 +67,7 @@ teardown() {
|
||||
@test "port 3000 exposed" {
|
||||
add_app
|
||||
docker exec -d $CONTAINER_NAME sh -c 'npm install express && node server.js'
|
||||
sleep 10
|
||||
sleep 20
|
||||
run docker run --rm --link $CONTAINER_NAME:node bitnami/node curl http://node:3000/
|
||||
[[ "$output" =~ "The night is dark and full of terrors" ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user