File tree Expand file tree Collapse file tree 4 files changed +10
-17
lines changed Expand file tree Collapse file tree 4 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 1
- FROM bbernhard/imagemonkey-buildbase :latest
1
+ FROM bbernhard/imagemonkey-buildbase2 :latest
2
2
3
3
ENV SENTRY_DSN=
4
4
ENV X_CLIENT_ID=
@@ -14,11 +14,6 @@ RUN mkdir -p /home/go/bin
14
14
ENV GOPATH=/home/go
15
15
ENV GOBIN=/home/go/bin
16
16
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
-
22
17
COPY src/go.mod /tmp/src/go.mod
23
18
COPY src/go.sum /tmp/src/go.sum
24
19
Original file line number Diff line number Diff line change @@ -13,15 +13,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
13
13
RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh --directory-prefix=/usr/bin \
14
14
&& chmod u+rx /usr/bin/wait-for-it.sh
15
15
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
-
19
16
RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
20
17
21
18
RUN mkdir -p /home/go/bin \
22
19
&& cd /tmp/src \
23
20
&& 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/* \
25
22
&& make install \
26
23
&& rm -rf /tmp/src \
27
24
&& rm -rf /home/go/bin
Original file line number Diff line number Diff line change
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/*
Original file line number Diff line number Diff line change 1
- FROM bbernhard/imagemonkey-buildbase :latest
1
+ FROM bbernhard/imagemonkey-buildbase2 :latest
2
2
3
3
ENV SENTRY_DSN=
4
4
ENV X_CLIENT_ID=
@@ -19,12 +19,6 @@ ENV GOBIN=/home/go/bin
19
19
20
20
RUN mkdir -p /home/imagemonkey
21
21
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
-
28
22
COPY src/web.go /tmp/src/web.go
29
23
COPY src/auth.go /tmp/src/auth.go
30
24
COPY src/commons /tmp/src/commons
You can’t perform that action at this time.
0 commit comments