Skip to content

Commit ddbb09e

Browse files
committed
docker releae
1 parent e9ae26a commit ddbb09e

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ jobs:
7878
- name: Get installed dotnet version
7979
run: dotnet --version
8080

81-
# - name: Login to Docker Hub
82-
# uses: docker/login-action@v2
83-
# with:
84-
# username: ${{ secrets.DOCKER_USERNAME }}
85-
# password: ${{ secrets.DOCKER_AUTH_TOKEN }}
81+
- name: Login to Docker Hub
82+
uses: docker/login-action@v2
83+
with:
84+
username: ${{ secrets.DOCKER_USERNAME }}
85+
password: ${{ secrets.DOCKER_AUTH_TOKEN }}
8686

8787
# The expression strips off the shortest match from the front of the string to yield just the tag name as the output
8888
- name: Get tagged version
@@ -95,8 +95,8 @@ jobs:
9595
env:
9696
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9797

98-
# - name: Build and Push image
99-
# run: make docker-build docker-push
98+
- name: Build and Push image
99+
run: make docker-build docker-push
100100

101101
- name: Submit metric to Datadog
102102
uses: sendgrid/dx-automator/actions/datadog-release-metric@main

Dockerfile

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:16.04
22

33
# Below dependecies are added from Dependencies menetion at
4-
# https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-2204
4+
# https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu-1604
55
RUN apt-get update \
66
&& apt-get install -y --no-install-recommends \
77
apt-transport-https \
@@ -10,11 +10,12 @@ RUN apt-get update \
1010
dirmngr \
1111
gnupg \
1212
libc6 \
13-
libgcc-s1 \
13+
libcurl3 \
14+
libgcc1 \
1415
libgssapi-krb5-2 \
15-
libicu70 \
16-
liblttng-ust1 \
17-
libssl3 \
16+
libicu55 \
17+
liblttng-ust0 \
18+
libssl1.0.0 \
1819
libstdc++6 \
1920
libunwind8 \
2021
libuuid1 \
@@ -26,13 +27,10 @@ RUN apt-get update \
2627
&& apt-add-repository 'deb https://download.mono-project.com/repo/ubuntu stable-xenial main' \
2728
&& wget https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
2829
&& dpkg -i packages-microsoft-prod.deb \
29-
#&& add-apt-repository ppa:linuxuprising/libpng12 \
30-
#&& apt-get update \
31-
#&& apt install libpng12-0 \
3230
&& apt-get update \
3331
&& apt-get install -y \
34-
dotnet-sdk-8.0 \
35-
#mono-complete \
32+
dotnet-sdk-6.0 \
33+
mono-complete \
3634
&& rm -rf /var/lib/apt/lists/*
3735

3836
WORKDIR /twilio

0 commit comments

Comments
 (0)