-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add integration tests from GH issues
- Loading branch information
Showing
7 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM ubuntu:18.04 | ||
RUN mkdir -p /var/run/test-foobar |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM alpine as base_stage | ||
RUN echo base_stage | ||
RUN touch meow.txt | ||
|
||
FROM base_stage as BUG_stage | ||
RUN echo BUG_stage | ||
RUN touch purr.txt | ||
|
||
|
||
FROM BUG_stage as final_stage | ||
RUN echo final_stage | ||
RUN touch mew.txt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM alpine:3.8 AS foo | ||
RUN mkdir /foo | ||
WORKDIR /foo | ||
RUN mkdir some_dir | ||
RUN touch some_file | ||
RUN chmod 777 some_dir | ||
RUN chmod 666 some_file | ||
RUN ls -l | ||
|
||
FROM alpine:3.8 | ||
COPY --from=foo /foo /bar | ||
RUN ls -l /bar |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM ubuntu:rolling as builder | ||
|
||
RUN apt-get update && apt-get -y upgrade && apt-get -y install lib32stdc++6 wget |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM alpine | ||
|
||
RUN mkdir -p /some/dir/ && echo 'first' > /some/dir/first.txt | ||
|
||
RUN rm /some/dir/first.txt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM ubuntu:16.04 | ||
ARG TEST=undefined | ||
RUN echo $TEST > log.txt | ||
ENTRYPOINT ["echo"] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM botpress/server:v12_0_0 | ||
RUN chmod -R gou+rw /botpress | ||
WORKDIR /botpress | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y install curl gnupg \ | ||
&& curl -sL https://deb.nodesource.com/setup_11.x | bash \ | ||
&& apt-get -y install nodejs \ | ||
&& apt-get -y install rsync \ | ||
&& apt-get upgrade -y | ||
|
||
#RUN cd /botpress && npm install && npm install node-sp-auth --save-dev && npm install sp-request --save-dev && npm install activedirectory --save-dev | ||
|
||
#EXPOSE 3000-55000 | ||
#CMD ["./bp"] |