Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitba36f9d

Browse files
committed
Build docker image always from master and use script to dynamically resolve platform
1 parentf968f0b commitba36f9d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM debian:bookworm-slim as builder
22

33
# Postgres-websockets repo metadata
44
ARG GIT_REPO=https://github.com/diogob/postgres-websockets.git
5-
ARG GIT_TAG=multiple-docker-architectures
5+
ARG GIT_TAG=master
66

77
# Install System Dependencies
88
RUN apt-get update \
@@ -37,17 +37,17 @@ RUN \
3737

3838
# install ghcup
3939
RUN \
40-
BOOTSTRAP_HASKELL_MINIMAL=1 BOOTSTRAP_HASKELL_NONINTERACTIVE=1./download-ghcup.sh \
41-
&& chmod +x/usr/bin/ghcup \
42-
&& ghcup config set gpg-setting GPGStrict
40+
BOOTSTRAP_HASKELL_MINIMAL=1 BOOTSTRAP_HASKELL_NONINTERACTIVE=1/app/postgres-websockets/download-ghcup.sh \
41+
&& chmod +x~/.ghcup/bin/ghcup \
42+
&&~/.ghcup/bin/ghcup config set gpg-setting GPGStrict
4343

4444
ARG GHC=9.6.3
4545
ARG CABAL=latest
4646

4747
# install GHC and cabal
4848
RUN \
49-
ghcup -v install ghc --isolate /usr/local --force ${GHC} && \
50-
ghcup -v install cabal --isolate /usr/local/bin --force ${CABAL}
49+
~/.ghcup/bin/ghcup -v install ghc --isolate /usr/local --force ${GHC} && \
50+
~/.ghcup/bin/ghcup -v install cabal --isolate /usr/local/bin --force ${CABAL}
5151

5252
RUN cabal update
5353
RUN cabal build

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp