-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed dockerfile to get go from google dl
- Loading branch information
1 parent
95cb667
commit c1e45b1
Showing
1 changed file
with
14 additions
and
6 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,10 +1,18 @@ | ||
FROM ghcr.io/hiway-media/deb-imagemagick-libvips:latest as base | ||
FROM ghcr.io/hiway-media/deb-imagemagick-libvips:latest | ||
# | ||
FROM golang:1.19-bullseye | ||
# | ||
COPY --from=base /usr/local/lib /usr/local/lib | ||
COPY --from=base /usr/include/vips /usr/include/vips | ||
COPY --from=base /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu | ||
|
||
ENV GOLANG_VERSION 1.19.9 | ||
|
||
RUN url='https://dl.google.com/go/go${GOLANG_VERSION}.linux-amd64.tar.gz' | ||
|
||
RUN wget url | ||
|
||
RUN tar -C /usr/local -xzf go${GOLANG_VERSION}.linux-amd64.tar.gz | ||
|
||
RUN rm -rf go${GOLANG_VERSION}.linux-amd64.tar.gz | ||
|
||
RUN export PATH=$PATH:/usr/local/go/bin | ||
|
||
# | ||
CMD ["/bin/bash"] | ||
# |