Skip to content

Commit bac5cfa

Browse files
author
Bernhard B
committed
Merge branch 'develop'
2 parents a7b5997 + a6840ec commit bac5cfa

File tree

4 files changed

+10
-17
lines changed

4 files changed

+10
-17
lines changed

env/docker/Dockerfile.api

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bbernhard/imagemonkey-buildbase:latest
1+
FROM bbernhard/imagemonkey-buildbase2:latest
22

33
ENV SENTRY_DSN=
44
ENV X_CLIENT_ID=
@@ -14,11 +14,6 @@ RUN mkdir -p /home/go/bin
1414
ENV GOPATH=/home/go
1515
ENV GOBIN=/home/go/bin
1616

17-
RUN apt-get update && apt-get install -y postgresql-client-9.6 --no-install-recommends \
18-
# until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
19-
&& curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash - \
20-
&& rm -rf /var/lib/apt/lists/*
21-
2217
COPY src/go.mod /tmp/src/go.mod
2318
COPY src/go.sum /tmp/src/go.sum
2419

env/docker/Dockerfile.buildbase

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1313
RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh --directory-prefix=/usr/bin \
1414
&& chmod u+rx /usr/bin/wait-for-it.sh
1515

16-
# until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
17-
#RUN curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash -
18-
1916
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
2017

2118
RUN mkdir -p /home/go/bin \
2219
&& cd /tmp/src \
2320
&& go get -u -d gocv.io/x/gocv \
24-
&& cd /home/go/pkg/mod/gocv.io/x/gocv\@v0.20.0/ \
21+
&& cd /home/go/pkg/mod/gocv.io/x/* \
2522
&& make install \
2623
&& rm -rf /tmp/src \
2724
&& rm -rf /home/go/bin

env/docker/Dockerfile.buildbase2

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM bbernhard/imagemonkey-buildbase:latest
2+
3+
RUN apt-get update && apt-get install -y --no-install-recommends \
4+
postgresql-client-9.6 \
5+
# until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
6+
&& curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash - \
7+
&& rm -rf /var/lib/apt/lists/*

env/docker/Dockerfile.web

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bbernhard/imagemonkey-buildbase:latest
1+
FROM bbernhard/imagemonkey-buildbase2:latest
22

33
ENV SENTRY_DSN=
44
ENV X_CLIENT_ID=
@@ -19,12 +19,6 @@ ENV GOBIN=/home/go/bin
1919

2020
RUN mkdir -p /home/imagemonkey
2121

22-
RUN apt-get update && apt-get install -y pkg-config postgresql-client-9.6 --no-install-recommends \
23-
# until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
24-
&& curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash - \
25-
&& rm -rf /var/lib/apt/lists/*
26-
27-
2822
COPY src/web.go /tmp/src/web.go
2923
COPY src/auth.go /tmp/src/auth.go
3024
COPY src/commons /tmp/src/commons

0 commit comments

Comments
 (0)