Skip to content

Commit

Permalink
docker/deb: fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yxqd committed Nov 9, 2015
1 parent 41c5ff5 commit 67acd6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docker/deb/test/Dockerfile.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ${DOCKER_ORG_NAME}/${PKG_NAME}-srpm-deps
FROM ${DOCKER_ORG_NAME}/${PKG_NAME}-deb-deps

MAINTAINER "Jiao Lin <jiao.lin@gmail.com>"

RUN dpkg -i ${GITHUB_URL}/releases/download/v${VERSION}/${PKG_NAME}-${VERSION}-${CPACK_PACKAGE_RELEASE}.x86_64.deb
RUN apt-get install wget
RUN wget ${GITHUB_URL}/releases/download/v${VERSION}/${PKG_NAME}-${VERSION}-${CPACK_PACKAGE_RELEASE}.x86_64.deb
RUN dpkg -i ${PKG_NAME}-${VERSION}-${CPACK_PACKAGE_RELEASE}.x86_64.deb
2 changes: 1 addition & 1 deletion docker/deb/test/run.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

IMG_NAME=${DOCKER_ORG_NAME}/${PKG_NAME}-srpm-test
IMG_NAME=${DOCKER_ORG_NAME}/${PKG_NAME}-deb-test
docker build -t $IMG_NAME --no-cache . \
&& docker run -t $IMG_NAME find /opt/danse

0 comments on commit 67acd6c

Please sign in to comment.