Browse Source

switched to debian:jessie

develop
Robin Thoni 6 years ago
parent
commit
3a96d2b8dc
2 changed files with 3 additions and 4 deletions
  1. 1
    2
      backend/Dockerfile
  2. 2
    2
      frontend/Dockerfile

+ 1
- 2
backend/Dockerfile View File

14
     cd /tmp/backend/${WEBAPI_PROJECT} && \
14
     cd /tmp/backend/${WEBAPI_PROJECT} && \
15
     dotnet publish --configuration "${BUILD_CONFIG}" --output /var/www && \
15
     dotnet publish --configuration "${BUILD_CONFIG}" --output /var/www && \
16
     cp /tmp/backend/${WEBAPI_PROJECT}/appsettings.* "${CONFIG_DIR}" && \
16
     cp /tmp/backend/${WEBAPI_PROJECT}/appsettings.* "${CONFIG_DIR}" && \
17
-    ln -s /var/www/${WEBAPI_PROJECT}.dll /var/www/__RUN_ME.DLL &&\
18
-    ls /var/www /tmp/backend/SiteStatus/bin/Release/netcoreapp2.1
17
+    ln -s /var/www/${WEBAPI_PROJECT}.dll /var/www/__RUN_ME.DLL
19
 
18
 
20
 FROM microsoft/dotnet:2.1-aspnetcore-runtime
19
 FROM microsoft/dotnet:2.1-aspnetcore-runtime
21
 
20
 

+ 2
- 2
frontend/Dockerfile View File

1
-FROM robinthoni/debian-multiarch:jessie AS builder
1
+FROM debian:jessie AS builder
2
 
2
 
3
 # FROM https://github.com/ZHAJOR/Docker-Apache-2.4-Php-5.6-for-Laravel
3
 # FROM https://github.com/ZHAJOR/Docker-Apache-2.4-Php-5.6-for-Laravel
4
 MAINTAINER Robin Thoni <robin@rthoni.com>
4
 MAINTAINER Robin Thoni <robin@rthoni.com>
26
     cp -r /tmp/frontend/dist/SiteStatus/ /var/www/html && \
26
     cp -r /tmp/frontend/dist/SiteStatus/ /var/www/html && \
27
     rm -rf /tmp/frontend
27
     rm -rf /tmp/frontend
28
 
28
 
29
-FROM robinthoni/debian-multiarch:jessie
29
+FROM debian:jessie
30
 
30
 
31
 RUN apt-get update && apt-get -y install \
31
 RUN apt-get update && apt-get -y install \
32
         apache2=2.4.* && \
32
         apache2=2.4.* && \

Loading…
Cancel
Save