Compare commits

...

7 Commits

2 changed files with 13 additions and 5 deletions

View File

@ -17,10 +17,10 @@ jobs:
command: login
containerRegistry: devFra
- task: Docker@2
name: dockerBuildAndPush
displayName: Backend image build test
name: dockerBuild
displayName: Backend image build
inputs:
command: buildAndPush
command: build
Dockerfile: docker/haskell/Dockerfile
buildContext: .
tags: |
@ -29,6 +29,16 @@ jobs:
--build-arg HTTPS_PROXY=http://proxy.frankfurt-airport.de:8080
--build-arg HTTP_PROXY=http://proxy.frankfurt-airport.de:8080
--build-arg NO_PROXY='localhost,127.0.0.1,*.docker.internal,*.azmk8s.io,devfra.azurecr.io,devfra.westeurope.data.azurecr.io'
- task: Docker@2
name: dockerPush
displayName: Backend image push
inputs:
command: push
repository: $(imageRepository)
Dockerfile: docker/haskell/Dockerfile
buildContext: .
tags: |
$(Build.BuildNumber)
- task: Docker@2
name: dockerLogoutDevFra
displayName: Docker Logout from devfra

View File

@ -1,7 +1,5 @@
FROM devfra.azurecr.io/de.fraport.build/haskell:8.10.4
USER root
# ENV LANG=de_DE.UTF-8
# compile-time dependencies