Skip to content

Commit

Permalink
version 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jan 9, 2016
1 parent fc6ee42 commit fd0f6f3
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# v 1.1.5
Ability to set password for users from shell by calling

```shell

$ gossha passwd user password
$ gossha root user password

```

Many typos fixed. Dockerfile provided.

# v 1.1.4
Use other library to conceal password input for creating users
Newer dependencies. Small fixes.
Expand Down
21 changes: 18 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Official docker file for building HuntJS powered applications
# Official docker file for building Gossha server
#

FROM fedora:23
Expand All @@ -14,6 +14,23 @@ RUN dnf clean all
ENV GOSSHA_PORT=22
EXPOSE 22

# Set one of possible database storages. We can use only one method

# Set database connection string for MySQL database
#ENV GOSSHA_DRIVER=mysql
#ENV GOSSHA_CONNECTIONSTRING=user:password@localhost/dbname?charset=utf8&parseTime=True&loc=Local

# Set database connection string for PostgreSQL database
#ENV GOSSHA_DRIVER=postgres
#ENV GOSSHA_CONNECTIONSTRING='user=gorm dbname=gorm sslmode=disable'
#ENV GOSSHA_CONNECTIONSTRING='postgres://pqgotest:password@localhost/pqgotest?sslmode=verify-full'

# Set database connection string for SQLite database
ENV GOSSHA_DRIVER=sqlite3
#ENV GOSSHA_CONNECTIONSTRING=':memory:'
ENV GOSSHA_CONNECTIONSTRING=/root/.gossha/gossha.db


# Create home directory
ENV GOSSHA_HOMEDIR=/root/.gossha

Expand All @@ -31,8 +48,6 @@ RUN /usr/bin/gossha passwd user2 user2

# Inject SSHD server keys
ADD build/id_rsa /root/.ssh/

# Inject SSHD server keys
ADD build/id_rsa.pub /root/.ssh/

# Run the image process. Point second argument to your entry point of application
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export semver=1.1.4
export semver=1.1.5
export arch=$(shell uname)-$(shell uname -m)
export gittip=$(shell git log --format='%h' -n 1)
export ver=$(semver).$(gittip).$(arch)
Expand Down

0 comments on commit fd0f6f3

Please sign in to comment.