Skip to content

Commit 81a4bd0

Browse files
authored
fix: Fix Tizen cert issues in Docker image (#59)
Upgrading Tizen Studio to 5.0 (released just a couple weeks ago) seems to fix the certificate issues we've been having. Closes #57
1 parent 997bd95 commit 81a4bd0

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

backends/tizen/tizen-studio-docker/base/Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ MAINTAINER joeyparrish <[email protected]>
1111
# Then clear the apt cache to reduce the size of the final image.
1212
# Docker's best practices guide recommends that these all be combined into one
1313
# step to avoid issues with the caching system.
14-
RUN apt-get -y update \
15-
&& apt-get -y install --no-install-recommends \
14+
RUN apt-get -y update
15+
RUN apt-get -y install --no-install-recommends \
1616
ca-certificates \
1717
cpio \
1818
gettext \
@@ -25,10 +25,8 @@ RUN apt-get -y update \
2525
sudo \
2626
unzip \
2727
wget \
28-
zip \
29-
&& apt-get -y clean \
30-
&& rm -rf /var/lib/apt/lists/* \
31-
&& rm -rf /etc/apt/sources.list.d/*
28+
zip
29+
RUN apt-get -y clean && rm -rf /var/lib/apt/lists/* && rm -rf /etc/apt/sources.list.d/*
3230

3331
# Add a non-root user with sudo access.
3432
RUN groupadd -r tizen \
@@ -43,7 +41,7 @@ USER tizen
4341
WORKDIR /home/tizen
4442

4543
# Download the Tizen Studio installer.
46-
ARG TIZEN_STUDIO_VERSION=3.7
44+
ARG TIZEN_STUDIO_VERSION=5.0
4745
ARG TIZEN_STUDIO_DL_FOLDER=http://download.tizen.org/sdk/Installer/tizen-studio_${TIZEN_STUDIO_VERSION}
4846
ARG TIZEN_STUDIO_BINARY=web-cli_Tizen_Studio_${TIZEN_STUDIO_VERSION}_ubuntu-64.bin
4947
RUN wget ${TIZEN_STUDIO_DL_FOLDER}/${TIZEN_STUDIO_BINARY} \

backends/tizen/tizen-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function addTizenArgs(yargs) {
206206
'For local Tizen Studio installations, use ' +
207207
'--local-tizen-studio.\n',
208208
type: 'string',
209-
default: 'gcr.io/generic-webdriver-server/tizen-studio-tv-3.0:1.0.0',
209+
default: 'gcr.io/generic-webdriver-server/tizen-studio-tv-3.0:1.1.4',
210210
})
211211
.option('tizen-studio-path', {
212212
description:

0 commit comments

Comments
 (0)