-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
1 addition
and
40 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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
.git | ||
.dockerignore | ||
circle.yml | ||
Makefile | ||
README.md | ||
test | ||
.gitlab-ci.yml |
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 |
---|---|---|
@@ -1,15 +1,6 @@ | ||
FROM nginx:1.11.6-alpine | ||
MAINTAINER Adrien M [email protected] | ||
|
||
# Install wget and install/updates certificates | ||
#RUN apt-get update \ | ||
# && apt-get install -y -q --no-install-recommends \ | ||
# ca-certificates \ | ||
# unzip \ | ||
# curl \ | ||
# && apt-get clean \ | ||
# && rm -r /var/lib/apt/lists/* | ||
|
||
RUN apk add --no-cache ca-certificates | ||
RUN apk add --no-cache curl | ||
RUN apk add --no-cache unzip | ||
|
@@ -25,20 +16,13 @@ RUN chmod u+x /usr/local/bin/forego | |
|
||
ARG TOKEN_RANCHER_GEN | ||
|
||
#RUN wget https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VERSION/docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz \ | ||
# && tar -C /usr/local/bin -xvzf docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz \ | ||
# && rm /docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz | ||
|
||
RUN curl --header "PRIVATE-TOKEN: $TOKEN_RANCHER_GEN" "https://gitlab.com/api/v3/projects/2130165/builds/artifacts/master/download?job=compile-go" > /tmp/rancher-gen-rap.zip \ | ||
&& unzip /tmp/rancher-gen-rap.zip -d /usr/local/bin \ | ||
&& chmod +x /usr/local/bin/rancher-gen | ||
|
||
COPY . /app/ | ||
WORKDIR /app/ | ||
|
||
ENV DOCKER_HOST unix:///tmp/docker.sock | ||
|
||
VOLUME ["/etc/nginx/certs"] | ||
|
||
#ENTRYPOINT ["/app/docker-entrypoint.sh"] | ||
CMD ["forego", "start", "-r"] |
This file was deleted.
Oops, something went wrong.